Skip to main content
GET
/
api
/
custom-apis
/
{api_id}
Get Custom Api
curl --request GET \
  --url https://api.example.com/api/custom-apis/{api_id} \
  --header 'Authorization: Bearer <token>'
{
  "id": 123,
  "user_id": 123,
  "name": "<string>",
  "description": "<string>",
  "url": "<string>",
  "method": "<string>",
  "headers": {},
  "env": {},
  "is_active": true,
  "is_default": true,
  "created_at": "<string>",
  "updated_at": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.xagent.run/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

api_id
integer
required

Response

Successful Response

Response model for Custom API.

id
integer
required
user_id
integer
required
name
string
required
description
string | null
required
url
string | null
required
method
string | null
required
headers
Headers · object
required
env
Env · object
required
is_active
boolean
required
is_default
boolean
required
created_at
string
required
updated_at
string
required