Passer au contenu principal
GET
/
tool-executions
/
{execution_id}
/
stream
Streaming des événements d'exécution
import requests

url = "https://app.ubik-agent.com/api/v1/tool-executions/{execution_id}/stream"

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://app.ubik-agent.com/api/v1/tool-executions/{execution_id}/stream', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
curl --request GET \
  --url https://app.ubik-agent.com/api/v1/tool-executions/{execution_id}/stream \
  --header 'X-API-KEY: <api-key>'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Autorisations

X-API-KEY
string
header
requis

En-têtes

X-End-User-ID
string | null

Paramètres de chemin

execution_id
string
requis

L'identifiant unique de l'exécution de l'outil. The unique identifier of the tool execution.

Réponse

Successful Response