S
Samva
S
Samva
DashboardAPISamva DocumentationQuickstart GuideAuthentication

Api referenceDevelopers

Get API Log Details

GET
/developers/logs/:requestId

Authorization

apiKey
X-API-Key<token>

API key for authentication

In: header

Query Parameters

requestId*string

Request/Message ID

Formatuuid

Response Body

application/json

curl -X GET "https://samva.app/api/v1/developers/logs/:requestId?requestId=497f6eca-6276-4993-bfeb-53cbbbba6f08"
{
  "id": "string",
  "requestId": "string",
  "timestamp": "string",
  "method": "string",
  "endpoint": "string",
  "statusCode": 0,
  "latency": 0,
  "channel": "string",
  "messageId": "string",
  "apiKeyId": "string",
  "apiKeyName": "string",
  "request": {
    "headers": {
      "property1": "string",
      "property2": "string"
    },
    "content": null,
    "query": {
      "property1": "string",
      "property2": "string"
    },
    "ipAddress": "string",
    "userAgent": "string"
  },
  "response": {
    "headers": {
      "property1": "string",
      "property2": "string"
    },
    "body": null,
    "status": 0
  },
  "error": {
    "message": "string",
    "code": "string",
    "details": null
  }
}
curl -X GET "https://samva.app/api/v1/developers/logs/:requestId?requestId=497f6eca-6276-4993-bfeb-53cbbbba6f08"