Devin integration (AI, Developer Tools). Imported from open-connector.
https://api.devin.ai/v3/self
/v3/organizations/{orgId}/sessions
| Param | Type | Required | Description |
|---|---|---|---|
| orgId | string | required | The Devin organization ID, usually prefixed with org-. |
| first | integer | optional | The maximum number of sessions to return. |
| after | string | optional | The pagination cursor returned by a previous list_sessions call. |
| devinId | string | optional | Filter results to one Devin session ID. |
| sessionIds | array | optional | Filter results by Devin session IDs. |
| userIds | array | optional | Filter results by Devin user IDs. |
| serviceUserIds | array | optional | Filter results by Devin service user IDs. |
| repoNames | array | optional | Filter results by repository names such as owner/repo. |
| tags | array | optional | Filter results by session tags. |
| origins | array | optional | Filter results by session origins. |
| category | string | optional | The Devin-assigned session category. |
| isArchived | boolean | optional | Filter results by archived state. |
| createdAfter | integer | optional | Only include sessions created after this Unix timestamp. |
| createdBefore | integer | optional | Only include sessions created before this Unix timestamp. |
| updatedAfter | integer | optional | Only include sessions updated after this Unix timestamp. |
| updatedBefore | integer | optional | Only include sessions updated before this Unix timestamp. |
| playbookId | string | optional | Filter results by playbook ID. |
| scheduleId | string | optional | Filter results by schedule ID. |
/v3/organizations/{orgId}/sessions/{devinId}
| Param | Type | Required | Description |
|---|---|---|---|
| orgId | string | required | The Devin organization ID, usually prefixed with org-. |
| devinId | string | required | The Devin session ID, usually prefixed with devin-. |
/v3/organizations/{orgId}/sessions/{devinId}
| Param | Type | Required | Description |
|---|---|---|---|
| orgId | string | required | The Devin organization ID, usually prefixed with org-. |
| devinId | string | required | The Devin session ID, usually prefixed with devin-. |
| archive | boolean | optional | Whether Devin should archive the session after terminating it. |