GET
/
projects
/
{projectIdOrName}
/
operations
/
{operationId}
/
logs
curl --request GET \
  --url https://api.withampersand.com/v1/projects/{projectIdOrName}/operations/{operationId}/logs \
  --header 'X-Api-Key: <api-key>'
[
  {
    "timestamp": "2023-07-13T21:34:44.816Z",
    "message": {
      "msg": "This is a log message",
      "error": "<string>",
      "operation_id": "<string>"
    },
    "severity": "DEBUG"
  }
]

Authorizations

X-Api-Key
string
header
required

Path Parameters

projectIdOrName
string
required
operationId
string
required

Response

200
application/json
List of logs
timestamp
string
required

The time the log was created.

Example:

"2023-07-13T21:34:44.816Z"

message
object
required

The log message object.

severity
string
required

The severity of the log.

Example:

"DEBUG"