Meta
REST reference
Meta API
Service and token context.
Service info
GET
/v1/Returns basic information about the API. Requires only a valid API key.
Request
curl "https://api.asks.app/v1/" \
-H "Authorization: Bearer $ASKS_API_KEY"Response 200
{
"object": "api",
"name": "string",
"version": "string",
"documentation_url": "string"
}Get workspace & token context
GET
/v1/meReturns the workspace, environment, and scopes for the current API key.
Request
curl "https://api.asks.app/v1/me" \
-H "Authorization: Bearer $ASKS_API_KEY"Response 200
{
"object": "workspace_context",
"workspace": {
"object": "workspace",
"id": "string",
"name": "string",
"slug": "string"
},
"environment": "live",
"scopes": [
"string"
]
}