Skip to main content
GET
/
namespaces
/
external
/
{externalId}
Get namespace by external reference ID
curl --request GET \
  --url https://api.deyta.ai/gateway/v1/namespaces/external/{externalId} \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": {
    "id": "ns_abc123",
    "org_id": "org_xyz789",
    "name": "customer-support",
    "mcp_endpoint_url": "https://api.deyta.ai/mcp/ns_abc123",
    "created_at": "2025-01-15T10:30:00.000Z",
    "updated_at": "2025-01-15T10:30:00.000Z",
    "description": "Customer support knowledge base",
    "external_reference_id": "ext_ref_001"
  }
}

Authorizations

Authorization
string
header
required

API key obtained from the Deyta Console

Path Parameters

externalId
string
required

External reference ID.

Response

Namespace retrieved successfully

success
boolean
Example:

true

data
object