Przejdź do treści

Pobierz Agent

GET/v1/agents/{agent_id}

Odczytuje Agent, również zarchiwizowany.

Parametry ścieżki

stringagent_idwymagane

Identyfikator Agenta (prefiks agt_).

Obiekt Agent

Zwracany przez create, get, update, archive, unarchive, restore i clone.

stringidwymagane

Identyfikator Agenta z prefiksem agt_.

stringobjectwymagane

Zawsze agent.

integerversionwymagane

Bieżąca wersja. Każdy skuteczny zapis tworzy nową wersję.

integerrow_versionwymagane

Token compare-and-set dla PATCH, archive, unarchive i restore.

stringstatuswymagane

active lub archived.

stringprojection_statuswymagane

Gotowość bieżącej wersji do wykonania. Sessions wymagają ready; nowy Agent może przez chwilę zgłaszać pending.

stringruntime_profilewymagane

codex, claude lub mcode.

stringvisibilitywymagane

private dla Twoich Agentów; public dla wpisów katalogu.

integer · nullcreated_at · updated_at · archived_atwymagane

Sekundy Unix. archived_at ma wartość null, dopóki Agent jest aktywny.