Skip to main content
GET
/
v1
/
external-apis
/
{id}
Retrieve External API Configuration
curl --request GET \
  --url https://api.bey.dev/v1/external-apis/{id} \
  --header 'x-api-key: <api-key>'
import requests

url = "https://api.bey.dev/v1/external-apis/{id}"

headers = {"x-api-key": "<api-key>"}

response = requests.get(url, headers=headers)

print(response.text)
const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};

fetch('https://api.bey.dev/v1/external-apis/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
{
  "id": "<string>",
  "name": "<string>",
  "url": "<string>",
  "type": "openai_compatible_llm"
}
{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}

Authorizations

x-api-key
string
header
required

Your Beyond Presence API Key.

Path Parameters

id
string
required

External API configuration ID.

Response

Requested External API Configuration

Response body for an OpenAI-compatible LLM API configuration.

id
string
required

Unique identifier of the object in the database.

Example:

"01234567-89ab-cdef-0123-456789abcdef"

name
string
required
url
string
required
type
string
default:openai_compatible_llm
Allowed value: "openai_compatible_llm"