Project API keys are used when your backend server needs to manage accounts, create sessions, or generate account API keys. They are secret and should never be exposed to clients.Documentation Index
Fetch the complete documentation index at: https://api.synthesis.trade/docs/llms.txt
Use this file to discover all available pages before exploring further.
Header
| Name | Type | Required | Description |
|---|---|---|---|
X-PROJECT-API-KEY | string | Yes | Your project secret key, formatted as sk_... |
Create an account
Create a session for an account
Create an account API key
Available routes
All routes under/api/v1/project/* require the project API key.
| Route | Method | Description |
|---|---|---|
/api/v1/project/account | GET | List project accounts |
/api/v1/project/account | POST | Create a new account |
/api/v1/project/account/{id} | GET | Get a specific account |
/api/v1/project/account/{id}/metadata | PUT | Update account metadata |
/api/v1/project/account/{id}/session | POST | Create a session |
/api/v1/project/account/{id}/session/{sid}/refresh | POST | Refresh a session |
/api/v1/project/account/{id}/session/{sid}/expire | POST | Expire a session |
/api/v1/project/account/{id}/sessions/expire-all | POST | Expire all sessions |
/api/v1/project/account/{id}/api-key | GET | List account API keys |
/api/v1/project/account/{id}/api-key | POST | Create an account API key |
/api/v1/project/account/{id}/api-key/{pk} | DELETE | Delete an account API key |