API - CODEX AGENTS: persistence and lifecycle endpoints

This commit is contained in:
DCCONSTRUCTIONS
2026-05-14 19:26:50 +03:00
parent e95cb3af33
commit 112522c423
17 changed files with 1071 additions and 37 deletions
+16 -9
View File
@@ -133,30 +133,37 @@ agent_grant
id
agent_id
workspace_slug
project_id
project_id (empty string internally means workspace-level grant)
scopes[]
mode: voluntary | reporting
created_by_user_id
created_at
updated_at
pairing_code
id
agent_id
code_hash
status: active | used | expired | revoked
expires_at
consumed_at
created_at
used_at
agent_audit_event
id
agent_id
owner_user_id
operation
workspace_slug
project_id
issue_id
idempotency_key
result
event_type
actor_user_id
metadata
created_at
idempotency_key
key
agent_id
request_hash
response_body
created_at
expires_at
```
## Actor model