ข้ามไปที่เนื้อหา

ดู Agent

GET/v1/agents/{agent_id}

อ่าน Agent รวมถึง Agent ที่เก็บถาวรแล้ว

พารามิเตอร์พาธ

stringagent_idบังคับ

ID ของ Agent (ขึ้นต้นด้วย agt_)

ออบเจ็กต์ Agent

ส่งคืนจาก create, get, update, archive, unarchive, restore และ clone

stringidบังคับ

ID ของ Agent ที่ขึ้นต้นด้วย agt_

stringobjectบังคับ

เป็น agent เสมอ

integerversionบังคับ

เวอร์ชันปัจจุบัน การเขียนที่มีผลทุกครั้งจะสร้างเวอร์ชันใหม่

integerrow_versionบังคับ

โทเค็น compare-and-set สำหรับ PATCH, archive, unarchive และ restore

stringstatusบังคับ

active หรือ archived

stringprojection_statusบังคับ

ความพร้อมในการทำงานของเวอร์ชันปัจจุบัน Session ต้องการสถานะ ready ส่วน Agent ใหม่อาจแสดง pending ในช่วงสั้น ๆ

stringruntime_profileบังคับ

codex, claude หรือ mcode

stringvisibilityบังคับ

private สำหรับ Agent ของคุณ และ public สำหรับรายการในแค็ตตาล็อก

integer · nullcreated_at · updated_at · archived_atบังคับ

Unix seconds โดย archived_at เป็น null ขณะที่ยัง active