Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
在开始使用 Relyt AI 前,需要获取 API Key 用于身份认证
x-pd-api-key
x-pd-api-key: API_KEY
$PROJECT_API_KEY
$USER_ID
curl --request POST \ --url https://app.ai.relyt.cn/app/api/v2/team/sessions \ --header 'Content-Type: application/json' \ --header 'x-pd-api-key: $PROJECT_API_KEY' \ --data '{ "name": "My session", "output_language": "FR", "job_mode": "AUTO", "max_contextual_job_history": 10, "agent_id": "DATA_ANALYSIS_AGENT", "user_id": "$USER_ID" }'
import requests url = "https://app.ai.relyt.cn/app/api/v2/team/sessions" payload = { "name": "My session", "output_language": "FR", "job_mode": "AUTO", "max_contextual_job_history": 10, "agent_id": "DATA_ANALYSIS_AGENT", "user_id": "tmm-dafasdfasdfasdf" } headers = { "x-pd-api-key": "$PROJECT_API_KEY", "Content-Type": "application/json" } response = requests.request("POST", url, json=payload, headers=headers) print(response.text)