cURL
curl --request GET \ --url https://api.specular.dev/projects/{id}/branches \ --header 'Authorization: Bearer <token>'
{ "branches": [ { "id": "<string>", "projectId": "<string>", "name": "<string>", "state": "idle", "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z", "openApiSpec": "<string>" } ], "total": 123, "limit": 123, "offset": 123 }
Bearer authentication with API key (format: Bearer sk_xxx)
Project ID
Maximum number of branches to return (1-100)
1 <= x <= 100
Number of branches to skip
x >= 0
List of branches
Show child attributes
Total number of branches
Maximum number of branches returned
Number of branches skipped