internkim
APIEvery endpointDiagnostics

Read the existing work-history view as a company administrator

Read host diagnostics through the same execution records, event ledger, model exchanges, turn inputs, connector events, service logs and request metrics as the work-history web page. Only a company administrator may ask. Use recorded IDs for detail views. This reads existing evidence and executes no commands supplied by the caller.

GET
/diagnostics/{view}

Authorization

memberToken
AuthorizationBearer <token>

The tools internkim uses inside a company, callable from outside it. A token belongs to a person, and every call runs as that person, so a token can never do more than its owner can.

The first token is made signed in, from the settings screen. After that a token makes its own successors: POST /token for a new one, DELETE /token for the old one, so a script rotates without a browser. A token can neither mint a rung above its own nor revoke itself. Send Authorization: Bearer <token> on every request.

In: header

Path Parameters

view*string

The existing work-history view to read: runs lists executions; run reads its event ledger; model_call reads a recorded model exchange; turn_input reads the recorded input; inbound reads connector events; service_logs reads service logs; requests reads request metrics.

Value in

  • "runs"
  • "run"
  • "model_call"
  • "turn_input"
  • "inbound"
  • "service_logs"
  • "requests"

Query Parameters

conversationID?string
Length1 <= length
id?string

The exact recorded model call or turn input ID, returned by the event ledger.

Length1 <= length
limit?integer
Range1 <= value <= 1000
messageID?string
Length1 <= length
offset?integer
Range0 <= value <= 9007199254740991
service?string

The exact service name accepted by the existing log viewer.

Length1 <= length
status?string
Length1 <= length
taskRunID?string
Length1 <= length

Response Body

text/plain

text/plain

text/plain

text/plain

curl -X GET "https://example.com/diagnostics/runs"
Empty