Merekrut rakan kongsi reka bentuk untuk bidang baharu — membuka industri baharu, dapatkan platform pada separuh harga

Projects

Project menggabungkan arahan tetap dan fail dimuat naik ke dalam konteks bernama dan boleh-guna-semula. Rujuk project daripada agent run atau perbualan, dan konteks itu disuntik secara automatik.

Cipta project

POST/v1/workspaces/{workspace_id}/projects

medan: name (wajib), description, instructions (panduan tetap yang digunakan apabila project dalam skop).

bash
curl https://nexevo.ai/v1/workspaces/$NEXEVO_WORKSPACE/projects \
  -H "Authorization: Bearer $NEXEVO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Acme onboarding",
    "description": "Support context for the Acme account",
    "instructions": "Always cite the contract section. Currency is USD."
  }'

Fail

POST/v1/workspaces/{workspace_id}/projects/{project_id}/files

muat naik fail (multipart) ke dalam project.

GET/v1/workspaces/{workspace_id}/projects/{project_id}/files

senaraikan fail project.

GET/v1/workspaces/{workspace_id}/projects/{project_id}/context

konteks dipasang (arahan + ringkasan fail) yang diterima agent.

Menggunakan project

Hantar project_id apabila memulakan agent run atau mencipta perbualan — arahan dan fail project disuntik di pelayan, jadi agent menaakul dengan konteks itu tanpa anda menghantar semula setiap panggilan.

bash
curl -N https://nexevo.ai/v1/workspaces/$NEXEVO_WORKSPACE/agent/runs \
  -H "Authorization: Bearer $NEXEVO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"task": "Draft the renewal email", "project_id": "PROJECT_UUID"}'

Urus

GET/v1/workspaces/{workspace_id}/projects

/

PATCH/v1/workspaces/{workspace_id}/projects/{project_id}

/

DELETE/v1/workspaces/{workspace_id}/projects/{project_id}

senaraikan, kemas kini dan padam project.

Projects adalah untuk konteks TETAP yang anda guna-semula. Untuk fakta sekali-sekala yang workspace patut ingat merentas semua tugasan, gunakan Memory.