cURL
curl --request GET \ --url https://api.specular.dev/branches/{id} \ --header 'Authorization: Bearer <token>'
{ "branch": { "id": "<string>", "projectId": "<string>", "name": "<string>", "state": "<string>", "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z", "mcpUrl": "<string>", "appUrl": "<string>", "buildStatus": "<string>" } }
Get branch details
Bearer authentication with API key (format: Bearer sk_xxx)
Branch ID
Branch details
Show child attributes