API 1 - Collab Agent
Collab Agent Backend API (1.0.0)
Download OpenAPI specification:Download
Official REST API used by the Collab Agent VS Code extension. It covers authentication, users, Jira integration, AI features, Live Share telemetry, and profile management.
Email / password sign-in
Sign-in using email credentials.
Authorizations:
bearerAuth
query Parameters
| provider required | string Value: "email" |
Request Body schema: application/json
| email required | string <email> |
| password required | string <password> |
Responses
Request samples
- Payload
Content type
application/json
{- "email": "user@example.com",
- "password": "pa$$word"
}Response samples
- 200
- 401
Content type
application/json
{- "token": "string"
}Create account
Authorizations:
bearerAuth
Request Body schema: application/json
| email required | string <email> |
| password required | string <password> |
| first_name required | string |
| last_name required | string |
Responses
Request samples
- Payload
Content type
application/json
{- "email": "user@example.com",
- "password": "pa$$word",
- "first_name": "string",
- "last_name": "string"
}Response samples
- 201
- 400
Content type
application/json
{- "token": "string"
}Lock / unlock user
Authorizations:
bearerAuth
path Parameters
| userId required | string |
Request Body schema: application/json
| user_id required | string |
| is_locked required | boolean |
Responses
Request samples
- Payload
Content type
application/json
{- "user_id": "string",
- "is_locked": true
}Response samples
- 400
Content type
application/json
{- "error": "string"
}Update overall user status
Authorizations:
bearerAuth
path Parameters
| userId required | string |
Request Body schema: application/json
| status required | string (UserStatus) Enum: "ACTIVE" "SUSPENDED" "LOCKED" |
| userClassId | string or null |
Responses
Request samples
- Payload
Content type
application/json
{- "status": "ACTIVE",
- "userClassId": "string"
}Response samples
- 200
- 404
Content type
application/json
{- "id": "string",
- "email": "user@example.com",
- "first_name": "string",
- "last_name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "userStatus": "ACTIVE",
- "role": "string",
- "settings": {
- "bug_percentage": 0,
- "show_notifications": true,
- "give_suggestions": true,
- "enable_quiz": true,
- "active_threshold": 0,
- "suspend_threshold": 0,
- "pass_rate": 0,
- "suspend_rate": 0
}
}Create / update section
Authorizations:
bearerAuth
path Parameters
| userId required | string |
Request Body schema: application/json
| status required | string (UserSectionStatus) Enum: "ACTIVE" "NEED_REVIEW" "COMPLETE" |
| userSectionId | string or null |
Responses
Request samples
- Payload
Content type
application/json
{- "status": "ACTIVE",
- "userSectionId": "string"
}Save Jira integration (admin)
Authorizations:
bearerAuth
Request Body schema: application/json
| team_id required | string |
| jira_url required | string <uri> |
| jira_project_key required | string |
| access_token required | string |
| refresh_token | string or null |
| admin_user_id required | string |
| created_at | string <date-time> |
| updated_at | string <date-time> |
Responses
Request samples
- Payload
Content type
application/json
{- "team_id": "string",
- "jira_project_key": "string",
- "access_token": "string",
- "refresh_token": "string",
- "admin_user_id": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Response samples
- 400
Content type
application/json
{- "error": "string"
}Response samples
- 200
- 404
Content type
application/json
{- "team_id": "string",
- "jira_project_key": "string",
- "access_token": "string",
- "refresh_token": "string",
- "admin_user_id": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Team activity timeline
Authorizations:
bearerAuth
query Parameters
| team_id required | string |
| limit | integer >= 1 Default: 25 |
Responses
Response samples
- 200
Content type
application/json
[- {
- "id": "string",
- "team_id": "string",
- "user_id": "string",
- "summary": "string",
- "activity_type": "string",
- "file_path": "string",
- "source_snapshot_id": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "display_name": "string",
- "user_email": "user@example.com"
}
]Generate AI task delegation suggestions
Authorizations:
bearerAuth
Request Body schema: application/json
| team_id required | string |
| user_id required | string |
required | Array of objects |
Responses
Request samples
- Payload
Content type
application/json
{- "team_id": "string",
- "user_id": "string",
- "unassigned_tasks": [
- {
- "key": "string",
- "summary": "string",
- "description": "string"
}
]
}Response samples
- 200
Content type
application/json
{- "recommendations_count": 0
}Create / update profile
Authorizations:
bearerAuth
Request Body schema: application/json
| user_id required | string |
| name | string |
| interests | Array of strings |
| strengths | Array of strings |
| weaknesses | Array of strings |
| custom_skills | Array of strings |
Responses
Request samples
- Payload
Content type
application/json
{- "user_id": "string",
- "name": "string",
- "interests": [
- "string"
], - "strengths": [
- "string"
], - "weaknesses": [
- "string"
], - "custom_skills": [
- "string"
]
}