Skip to main content
GET
/
containers
/
{serviceId}
/
instances
/
{instanceId}
/
logs
Get container logs for a specific instance
curl --request GET \
  --url https://core.cyberun.cloud/api/v1/containers/{serviceId}/instances/{instanceId}/logs \
  --header 'Authorization: Bearer <token>'
{
  "log_output": "<string>",
  "error_message": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.cyberun.cloud/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

User session JWT (Bearer ). Must be paired with the X-Team-ID request header on team-scoped endpoints so the server knows which team's resources to operate on.

Headers

X-Team-ID
string<uuid>

UUID of the team to scope the request to. Used by dual-auth endpoints (runtime + scoped management):

  • JWT callers MUST send it — a user may belong to multiple teams and the runtime cannot otherwise know which one to operate on. Missing header → 400.
  • Credential callers (sk-, dk-) can omit it because the team is derived from the credential row itself. Any value sent is ignored.
Example:

"019abc12-4567-7890-abcd-ef1234567891"

Path Parameters

serviceId
string<uuid>
required
instanceId
string<uuid>
required

Query Parameters

tailLines
integer
default:100

Number of lines to retrieve from the end of the log

Required range: 1 <= x <= 10000

Response

Container logs

log_output
string
required

Container log output (plain text)

error_message
string

Error message if log retrieval failed