The Projects API returns every project in your tenant with its name, description, publish state and timestamps, so your own systems can list projects without opening the product. It returns inbound and outbound projects, published and never published. Deleted projects are not returned.
1. Creating an Application
To use the Projects API, you need an application with the dataservice_external scope. The application belongs to a tenant, and the token issued to it decides whose projects come back. There is no tenant parameter.
📄 For setup instructions, please refer to the official guide.
2. Getting an Access Token
To authenticate API requests, get an access token using the credentials of your registered application.
📄 For getting an access token, please refer to the official guide.
Include the token in the Authorization header as a Bearer token in every API request.
3. Projects API
Endpoint:
- Method: GET
- URL:
https://<your-host>/api/external/projects
https://<your-host> is the address of your SESTEK AI Agents deployment. The endpoint takes no query parameters and no request body.
The response is a plain JSON array with one object per project, sorted by name. There is no paging and no total count. The sort is case-sensitive, so names starting with an uppercase letter come before names starting with a lowercase letter.
Responses
| Status Code | Description |
|---|---|
| 200 | OK. The array of projects. A tenant with no projects gets an empty array; it is not an error. |
| 401 | Unauthorized. Missing or invalid token. |
| 403 | Forbidden. The token lacks the dataservice_external scope, or carries no tenant information. |
| 429 | Too Many Requests. By default each client IP address can make 5 requests per second; your deployment may set a different limit. |
3.1. Example Request & Response
Here's an example of a request:
curl --location 'https://<your-host>/api/external/projects' \
--header 'Authorization: Bearer <access-token>'
Here's an example of a response:
[
{
"id": "f798ffe8-0a47-c812-13c7-3a22caa258d8",
"name": "Sestek-Demo-Showcase",
"description": "Umbrella demo project used as the common foundation for all Sestek AI Agents demos and enablement material.",
"isPublished": true,
"publishedDate": "2026-10-19T06:02:19.260061Z",
"publishedVersion": 5,
"isOutbound": false,
"creationTime": "2026-07-31T13:55:36.301313Z",
"lastModificationTime": "2026-10-26T12:32:51.268097Z"
},
{
"id": "538395f2-227b-13dc-61fc-3a22e2c4b685",
"name": "test-outbound",
"description": "",
"isPublished": false,
"publishedDate": null,
"publishedVersion": null,
"isOutbound": true,
"creationTime": "2026-08-05T06:24:01.741388Z",
"lastModificationTime": "2026-10-19T06:01:59.592099Z"
}
]
3.2. Response Field Definitions
| Field | Type | Description |
|---|---|---|
| id | string | The project's unique identifier (GUID). |
| name | string | The project name. |
| description | string | The project description. An empty string when the project has none. |
| isPublished | boolean | true if the project has been published at least once. |
| publishedDate | string or null | When the project was last published, ISO 8601, UTC. null if it has never been published. |
| publishedVersion | integer or null | The published version number. null if the project has never been published. |
| isOutbound | boolean | true for an outbound project. |
| creationTime | string | When the project was created, ISO 8601, UTC. |
| lastModificationTime | string | When the project was last changed, ISO 8601, UTC. Equal to creationTime if the project has never been changed. |
