---
title: "Get Custom Api"
method: GET
path: "/api/custom-apis/{api_id}"
tags: ["Custom API Management"]
---

# Get Custom Api

`GET /api/custom-apis/{api_id}`

Get a specific Custom API by ID.

## Path parameters

- `api_id` integer, required

## Response `200`

Successful Response

- CustomApiResponse — Response model for Custom API.
  - `id` integer, required
  - `user_id` integer, required
  - `name` string, required
  - `description` string, nullable, required
  - `url` string, nullable, required
  - `method` string, nullable, required
  - `headers` object, nullable, required
  - `body` string, nullable, required
  - `env` object, nullable, required
  - `is_active` boolean, required
  - `is_default` boolean, required
  - `created_at` string, required
  - `updated_at` string, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/xorbitsai/apis/xagent.md) · [All operations](https://skmtc.net/xorbitsai/apis/xagent/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/xorbitsai/xagent/revisions/33e4ba4936ad/schema)
