List all sources
GET/api/promptly/sources
Retrieve all data sources for the organization
Query Parameters
organizationId: string
formatuuid
Returns
id: string
formatuuid
name: string
composioConnected: optional boolean
Whether Composio OAuth is completed
composioToolkit: optional string
Composio toolkit name (e.g., 'todoist', 'github')
createdAt: optional string
formatdate-time
description: optional string
iconUrl: optional string
formaturi
isActive: optional boolean
Whether the source is connected and ready
lastConnectedAt: optional string
formatdate-time
organizationId: optional string
formatuuid
slug: optional string
URL-friendly identifier
updatedAt: optional string
formatdate-time
List all sources
curl https://0ct.com/api/promptly/sources \
-H "Authorization: Bearer $0CT_API_KEY"[
{
"id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
"config": {
"args": [
"string"
],
"baseUrl": "https://example.com",
"command": "command",
"env": {
"foo": "string"
},
"transport": "stdio",
"url": "https://example.com"
},
"name": "name",
"type": "mcp",
"authConfig": {
"headerName": "headerName",
"prefix": "prefix",
"provider": "provider"
},
"authType": "none",
"composioConnected": true,
"composioToolkit": "composioToolkit",
"createdAt": "2019-12-27T18:11:19.117Z",
"description": "description",
"iconUrl": "https://example.com",
"isActive": true,
"lastConnectedAt": "2019-12-27T18:11:19.117Z",
"organizationId": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
"slug": "slug",
"tools": [
{
"description": "description",
"inputSchema": {},
"name": "name"
}
],
"updatedAt": "2019-12-27T18:11:19.117Z"
}
]Returns Examples
[
{
"id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
"config": {
"args": [
"string"
],
"baseUrl": "https://example.com",
"command": "command",
"env": {
"foo": "string"
},
"transport": "stdio",
"url": "https://example.com"
},
"name": "name",
"type": "mcp",
"authConfig": {
"headerName": "headerName",
"prefix": "prefix",
"provider": "provider"
},
"authType": "none",
"composioConnected": true,
"composioToolkit": "composioToolkit",
"createdAt": "2019-12-27T18:11:19.117Z",
"description": "description",
"iconUrl": "https://example.com",
"isActive": true,
"lastConnectedAt": "2019-12-27T18:11:19.117Z",
"organizationId": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
"slug": "slug",
"tools": [
{
"description": "description",
"inputSchema": {},
"name": "name"
}
],
"updatedAt": "2019-12-27T18:11:19.117Z"
}
]