Hub REST API
Terminal
The Terminal operations of the Hub REST API (1 operation).
For BuildersOpen-source podSynap CloudGenerated from Synap-core/backend@c31e261ab (main)
GET
bearerAuthheader
AuthorizationBearer <API key>Pod API key (Bearer) issued via /api/hub/setup/agent or pod admin tooling. Browser/web clients may use the X-Session-Token header instead. See GET /api/hub/auth/status to introspect the calling key.
service*stringValue in
"api""intelligence""realtime""postgres""typesense"lines?stringDefault 50, hard-capped at 500.
since?stringTime window (e.g. '1h', '30m'). Forwarded to docker --since.
filter?stringgrep -i pattern applied to output.
Log output (last N lines)
application/json- response
service*stringlines*numbertruncated*booleanoutput*stringcurl -X GET 'https://pod.example.com/api/hub/terminal/logs?service=api'Example Response
{ "service": "string", "lines": 0, "truncated": true, "output": "string"}