Skip to main content
GET
/
projects
/
{id}
/
ai-gateway
/
block
Get project block status
curl --request GET \
  --url https://api.specular.dev/projects/{id}/ai-gateway/block \
  --header 'Authorization: Bearer <token>'
{
  "projectId": "<string>",
  "blocked": true,
  "createdAt": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Bearer authentication with API key (format: Bearer sk_xxx)

Path Parameters

id
string
required

Project ID

Response

AI Gateway status

AI Gateway status

projectId
string
blocked
boolean
createdAt
string<date-time> | null