Passer au contenu principal
GET
/
assistants
Lister les assistants disponibles
import requests

url = "https://app.ubik-agent.com/api/v1/assistants"

headers = {"X-API-KEY": "<api-key>"}

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

print(response.text)
[
  {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "name": "<string>",
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z",
    "description": "<string>",
    "model_name": "<string>"
  }
]

Autorisations

X-API-KEY
string
header
requis

En-têtes

X-End-User-ID
string | null

Réponse

Successful Response

id
string<uuid>
requis

The unique identifier for the assistant.

name
string
requis

The name of the assistant.

created_at
string<date-time>
requis

Creation timestamp.

updated_at
string<date-time>
requis

Last update timestamp.

description
string | null

A description of the assistant.

model_name
string | null

The model used by this assistant.