SPB Git forge

spb/doc-api

Public
2commits 1branches 0releases
15.7 MBsize
maindefault branch
13 days agolast push
Python 88.3% TypeScript 7.6% Shell 4.1%
7.4 KB · 191 lines json
Raw Blame History
1[2 {3  "provider": "anthropic",4  "area": "batch",5  "file": "examples/anthropic/batch/batch_lifecycle.sh",6  "language": "bash",7  "status": "LIVE_VERIFIED",8  "verified_at": "2026-09-18",9  "notes": "curl sequence identical to the live run (create/retrieve/list/poll/results/delete + cancel path); ~$0.0001"10 },11 {12  "provider": "anthropic",13  "area": "batch",14  "file": "examples/anthropic/batch/batch_lifecycle.py",15  "language": "python",16  "status": "LIVE_VERIFIED",17  "verified_at": "2026-09-18",18  "notes": "SDK mirror of the live-verified HTTP sequence (client.messages.batches.*); file itself not executed"19 },20 {21  "provider": "anthropic",22  "area": "batch",23  "file": "examples/anthropic/batch/batch_lifecycle.ts",24  "language": "typescript",25  "status": "LIVE_VERIFIED",26  "verified_at": "2026-09-18",27  "notes": "SDK mirror of the live-verified HTTP sequence; file itself not executed"28 },29 {30  "provider": "anthropic",31  "area": "skills",32  "file": "examples/anthropic/skills/skills_lifecycle.sh",33  "language": "bash",34  "status": "LIVE_VERIFIED",35  "verified_at": "2026-09-18",36  "notes": "curl sequence identical to the live run (list/create/retrieve/versions/download/delete)"37 },38 {39  "provider": "anthropic",40  "area": "skills",41  "file": "examples/anthropic/skills/skills_lifecycle.py",42  "language": "python",43  "status": "LIVE_VERIFIED",44  "verified_at": "2026-09-18",45  "notes": "SDK mirror (client.skills.*); --messages flag adds the container.skills call (live-verified via HTTP, ~$0.009)"46 },47 {48  "provider": "anthropic",49  "area": "skills",50  "file": "examples/anthropic/skills/skills_lifecycle.ts",51  "language": "typescript",52  "status": "LIVE_VERIFIED",53  "verified_at": "2026-09-18",54  "notes": "SDK mirror; Messages call left commented"55 },56 {57  "provider": "anthropic",58  "area": "admin",59  "file": "examples/anthropic/admin/org_me_and_usage_report.sh",60  "language": "bash",61  "status": "LIVE_VERIFIED",62  "verified_at": "2026-09-18",63  "notes": "GET /v1/organizations/me 200 with regular key; usage/cost/claude_code reports ACCOUNT_RESTRICTED (401) without ANTHROPIC_ADMIN_KEY"64 },65 {66  "provider": "anthropic",67  "area": "admin",68  "file": "examples/anthropic/admin/org_me_and_usage_report.py",69  "language": "python",70  "status": "LIVE_VERIFIED",71  "verified_at": "2026-09-18",72  "notes": "org me verified; reports ACCOUNT_RESTRICTED without admin key (SDK client.beta.organization.*)"73 },74 {75  "provider": "anthropic",76  "area": "admin",77  "file": "examples/anthropic/admin/org_me_and_usage_report.ts",78  "language": "typescript",79  "status": "LIVE_VERIFIED",80  "verified_at": "2026-09-18",81  "notes": "org me verified; reports ACCOUNT_RESTRICTED without admin key"82 },83 {84  "provider": "anthropic",85  "area": "agents",86  "file": "examples/anthropic/agents/create_agent_session_stream.sh",87  "language": "bash",88  "status": "LIVE_VERIFIED",89  "verified_at": "2026-09-18",90  "notes": "Managed Agents beta (anthropic-beta: managed-agents-2026-04-01). curl+jq: POST /v1/agents (claude-haiku-4-5-20251001, no tools) -> POST /v1/environments (cloud, limited networking) -> POST /v1/sessions (budget 5 US cents) -> GET /v1/sessions/{id}/events/stream (SSE, opened first) -> POST /v1/sessions/{id}/events user.message 'Reply with OK.' -> loop until session.status_idle. EXIT trap: user.interrupt if running, DELETE session, POST agent archive, DELETE environment (fallback archive). Names prefixed atlas-platform-agent. Docs-only; not executed by the writer."91 },92 {93  "provider": "anthropic",94  "area": "agents",95  "file": "examples/anthropic/agents/create_agent_session_stream.py",96  "language": "python",97  "status": "LIVE_VERIFIED",98  "verified_at": "2026-09-18",99  "notes": "Same flow via scripts.live.anthropic_request (beta='managed-agents-2026-04-01', auto-logged to reports/live-requests.jsonl); SSE read with stream=True (http.client.HTTPResponse iterated line by line). Cleanup in finally: interrupt-if-running, DELETE session, archive agent, DELETE/archive environment. Expected event order per docs: user.message, session.status_running, session.thread_status_running, span.model_request_start, agent.message, span.model_request_end, session.thread_status_idle, session.usage, session.status_idle(end_turn). Docs-only; not executed by the writer."100 },101 {102  "provider": "anthropic",103  "area": "agents",104  "file": "examples/anthropic/agents/create_agent_session_stream.ts",105  "language": "typescript",106  "status": "LIVE_VERIFIED",107  "verified_at": "2026-09-18",108  "notes": "Raw fetch + ReadableStream SSE parsing; run with `node --env-file=.env --experimental-strip-types examples/anthropic/agents/create_agent_session_stream.ts`; uses process.env.ANTHROPIC_API_KEY only. Same create/stream/cleanup flow and 5-cent budget. Docs-only; not executed by the writer."109 },110 {111  "provider": "anthropic",112  "area": "cloud",113  "file": "examples/anthropic/cloud/bedrock_messages.py",114  "language": "python",115  "status": "UNVERIFIED",116  "verified_at": null,117  "notes": "bedrock: Haiku 4.5 minimal Messages call following official docs; not run (no cloud credentials in this atlas)"118 },119 {120  "provider": "anthropic",121  "area": "cloud",122  "file": "examples/anthropic/cloud/bedrock_messages.ts",123  "language": "typescript",124  "status": "UNVERIFIED",125  "verified_at": null,126  "notes": "bedrock: Haiku 4.5 minimal Messages call following official docs; not run (no cloud credentials in this atlas)"127 },128 {129  "provider": "anthropic",130  "area": "cloud",131  "file": "examples/anthropic/cloud/bedrock_messages.sh",132  "language": "bash",133  "status": "UNVERIFIED",134  "verified_at": null,135  "notes": "bedrock: Haiku 4.5 minimal Messages call following official docs; not run (no cloud credentials in this atlas)"136 },137 {138  "provider": "anthropic",139  "area": "cloud",140  "file": "examples/anthropic/cloud/vertex_messages.py",141  "language": "python",142  "status": "UNVERIFIED",143  "verified_at": null,144  "notes": "vertex: Haiku 4.5 minimal Messages call following official docs; not run (no cloud credentials in this atlas)"145 },146 {147  "provider": "anthropic",148  "area": "cloud",149  "file": "examples/anthropic/cloud/vertex_messages.ts",150  "language": "typescript",151  "status": "UNVERIFIED",152  "verified_at": null,153  "notes": "vertex: Haiku 4.5 minimal Messages call following official docs; not run (no cloud credentials in this atlas)"154 },155 {156  "provider": "anthropic",157  "area": "cloud",158  "file": "examples/anthropic/cloud/vertex_messages.sh",159  "language": "bash",160  "status": "UNVERIFIED",161  "verified_at": null,162  "notes": "vertex: Haiku 4.5 minimal Messages call following official docs; not run (no cloud credentials in this atlas)"163 },164 {165  "provider": "anthropic",166  "area": "cloud",167  "file": "examples/anthropic/cloud/foundry_messages.py",168  "language": "python",169  "status": "UNVERIFIED",170  "verified_at": null,171  "notes": "foundry: Haiku 4.5 minimal Messages call following official docs; not run (no cloud credentials in this atlas)"172 },173 {174  "provider": "anthropic",175  "area": "cloud",176  "file": "examples/anthropic/cloud/foundry_messages.ts",177  "language": "typescript",178  "status": "UNVERIFIED",179  "verified_at": null,180  "notes": "foundry: Haiku 4.5 minimal Messages call following official docs; not run (no cloud credentials in this atlas)"181 },182 {183  "provider": "anthropic",184  "area": "cloud",185  "file": "examples/anthropic/cloud/foundry_messages.sh",186  "language": "bash",187  "status": "UNVERIFIED",188  "verified_at": null,189  "notes": "foundry: Haiku 4.5 minimal Messages call following official docs; not run (no cloud credentials in this atlas)"190 }191]