Documentation Index Fetch the complete documentation index at: https://docs.zylon.ai/llms.txt
Use this file to discover all available pages before exploring further.
Los proyectos son la unidad del espacio de trabajo que contiene hilos, artefactos y contexto de equipo. Usa estos endpoints para crear y configurar proyectos, transferir la propiedad e iniciar chats con alcance de proyecto.
Solicitud básica y respuesta
Crea un proyecto con POST /api/v1/app/project.
curl -X POST "https://{BASE_URL}/api/v1/app/project" \
-H "Authorization: Bearer {API_TOKEN}" \
-H "x-org: {org_slug}" \
-H "Content-Type: application/json" \
-d '{
"name": "Customer Insights",
"goal": "Summarize weekly support trends.",
"deadline": 1709337600,
"visibility": "Private"
}'
{
"id" : "proj_7a5c3e1b9d2f4a6c" ,
"name" : "Customer Insights" ,
"goal" : "Summarize weekly support trends." ,
"deadline" : "2026-03-01T00:00:00Z" ,
"visibility" : "Private" ,
"member_count" : 1 ,
"default_member_role" : "Editor" ,
"default_role_enabled" : true ,
"project_context" : "Support analytics for Q1." ,
"answer_context" : "Use approved templates." ,
"is_pinned" : false
}
Obtener un proyecto
curl "https://{BASE_URL}/api/v1/app/project/{projectID}" \
-H "Authorization: Bearer {API_TOKEN}"
-H "x-org: {org_slug}"
{
"id" : "proj_7a5c3e1b9d2f4a6c" ,
"name" : "Customer Insights" ,
"goal" : "Summarize weekly support trends." ,
"visibility" : "Private"
}
Actualizar un proyecto
curl -X PUT "https://{BASE_URL}/api/v1/app/project/{projectID}" \
-H "Authorization: Bearer {API_TOKEN}" \
-H "x-org: {org_slug}" \
-H "Content-Type: application/json" \
-d '{
"name": "Customer Insights",
"goal": "Summarize weekly support and churn signals.",
"deadline": "2026-03-15T00:00:00Z",
"visibility": "Private",
"project_context": "Support analytics for Q1.",
"answer_context": "Return answers in a weekly memo format.",
"default_member_role": "Editor",
"default_role_enabled": true
}'
{
"id" : "proj_7a5c3e1b9d2f4a6c" ,
"name" : "Customer Insights" ,
"goal" : "Summarize weekly support and churn signals." ,
"deadline" : "2026-03-15T00:00:00Z" ,
"visibility" : "Private" ,
"member_count" : 3 ,
"default_member_role" : "Editor" ,
"default_role_enabled" : true ,
"project_context" : "Support analytics for Q1." ,
"answer_context" : "Return answers in a weekly memo format." ,
"is_pinned" : true
}
curl -X PATCH "https://{BASE_URL}/api/v1/app/project/{projectID}" \
-H "Authorization: Bearer {API_TOKEN}" \
-H "x-org: {org_slug}" \
-H "Content-Type: application/json" \
-d '{
"project_context": "Support analytics for Q1 with strict PII handling."
}'
Eliminar un proyecto
curl -X DELETE "https://{BASE_URL}/api/v1/app/project/{projectID}" \
-H "Authorization: Bearer {API_TOKEN}"
-H "x-org: {org_slug}"
Transferir la propiedad de un proyecto
curl -X POST "https://{BASE_URL}/api/v1/app/project/{projectID}/transfer" \
-H "Authorization: Bearer {API_TOKEN}" \
-H "x-org: {org_slug}" \
-H "Content-Type: application/json" \
-d '{
"old_owner_id": "{userID}",
"new_owner_id": "{userID}"
}'
Chat con alcance de proyecto
curl -X POST "https://{BASE_URL}/api/v1/app/project/{projectID}/chat" \
-H "Authorization: Bearer {API_TOKEN}" \
-H "x-org: {org_slug}" \
-H "Content-Type: application/json" \
-d '{
"all_artifacts": true,
"pgpt": {
"messages": [
{
"role": "user",
"content": [
{ "type": "text", "text": "Summarize the latest support trends in three bullets." }
]
}
],
"max_tokens": 80,
"temperature": 0.2
}
}'
{
"id" : "inter_5a7b9c1d3e5f7a9b" ,
"state" : "Completed"
}
Errores y casos límite
403 : no eres miembro del proyecto.
404 : proyecto no encontrado.
409 : el usuario destino no es elegible para transferir.