Skip to content

List API requests

GET
/logs
curl --request GET \
--url https://api.duta.indra.sh/v1/logs \
--header 'Authorization: Bearer <token>'
limit
integer
>= 1 <= 100

1 to 100. Default 50

after
string

The next value from the previous page

q
string

Matches the path

status
string

A code such as 404, or a class: 2, 4 or 5

method
string

Success

Media typeapplication/json
object
object
string
Allowed values: list
data
required
Array<object>
object
id
required
string
method
required
string
path
required
string
status
required
integer
duration_ms
required
integer | null
message_id
required
string | null
key_name
required
string | null
key_scope
required
string | null
Allowed values: send full
created_at
required

ISO 8601

string format: date-time
has_more
required
boolean
next
required

Pass as after to get the following page

string | null
Example
{
"object": "list",
"data": [
{
"key_scope": "send"
}
]
}

Missing or invalid API key

Media typeapplication/json
object
statusCode
required
integer
name
required

The Resend error name, so code that branches on it keeps working

string
message
required
string
code
required

Duta’s error code, finer grained than name

string
Allowed values: unauthorized forbidden not_found validation_failed domain_not_verified from_domain_not_allowed recipient_suppressed recipient_not_confirmed rate_limited quota_exceeded conflict payment_required account_paused content_rejected platform_halted payload_too_large length_required idempotency_conflict provider_error internal_error
detail
object
key
additional properties
request_id
required

Find this request on the Logs screen

string
Example
{
"code": "unauthorized"
}

The request was refused. code says why

Media typeapplication/json
object
statusCode
required
integer
name
required

The Resend error name, so code that branches on it keeps working

string
message
required
string
code
required

Duta’s error code, finer grained than name

string
Allowed values: unauthorized forbidden not_found validation_failed domain_not_verified from_domain_not_allowed recipient_suppressed recipient_not_confirmed rate_limited quota_exceeded conflict payment_required account_paused content_rejected platform_halted payload_too_large length_required idempotency_conflict provider_error internal_error
detail
object
key
additional properties
request_id
required

Find this request on the Logs screen

string
Example
{
"code": "unauthorized"
}

Rate limited. Retry after the Retry-After header

Media typeapplication/json
object
statusCode
required
integer
name
required

The Resend error name, so code that branches on it keeps working

string
message
required
string
code
required

Duta’s error code, finer grained than name

string
Allowed values: unauthorized forbidden not_found validation_failed domain_not_verified from_domain_not_allowed recipient_suppressed recipient_not_confirmed rate_limited quota_exceeded conflict payment_required account_paused content_rejected platform_halted payload_too_large length_required idempotency_conflict provider_error internal_error
detail
object
key
additional properties
request_id
required

Find this request on the Logs screen

string
Example
{
"code": "unauthorized"
}