cursor.api.* operation is listed below with parameter shapes and return types from the plugin Zod schemas.
New to Corsair? See API access, authentication, and error handling.
Account
getMe
account.getMe
Retrieve API key information including name, creation date, and owner email
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
apiKeyName | string | Yes | — |
createdAt | string | Yes | — |
userEmail | string | No | — |
Agents
getConversation
agents.getConversation
Retrieve the conversation history for a specific cloud agent
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
messages | object[] | Yes | — |
messages full type
messages full type
list
agents.list
Retrieve a paginated list of Cursor Cloud agents
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
limit | number | No | — |
cursor | string | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
agents | object[] | Yes | — |
nextCursor | string | No | — |
agents full type
agents full type
Models
list
models.list
Retrieve the list of available AI models in Cursor
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
models | string[] | Yes | — |
Repositories
list
repositories.list
List GitHub repositories accessible to the authenticated user
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
repositories | object[] | Yes | — |
repositories full type
repositories full type