Skip to content

InspectQueueV1Response

Note

This page was generated by extracting information from a JSON Schema data file for the API. It may be missing some information, or otherwise suggest approximate or placeholder values based on information in the schema file; this is due to limitations on how that data is extracted from the underlying Rust code and into the JSON Schema, and then again from there and into these docs.

This is an object value, with the following properties:

  • delayed_metric - required integer.

  • last_changed - required string (date-time).

  • messages - required array of InspectMessageV1Response.

  • now - required string (date-time).

  • num_scheduled - required integer.

  • queue_config - required object.

  • queue_name - required string.

Examples

{
  "delayed_metric": 42,
  "last_changed": "1990-12-31T23:59:60Z",
  "messages": [
    {
      "id": "d7ef132b5d7711eea8c8000c29c33806",
      "message": {
        "data": "From: user@example.com\nSubject: Hello\n\nHello there",
        "due": "1990-12-31T23:59:60Z",
        "meta": {},
        "num_attempts": 42,
        "recipient": "recipient@example.com",
        "scheduling": {},
        "sender": "sender@sender.example.com"
      }
    }
  ],
  "now": "1990-12-31T23:59:60Z",
  "num_scheduled": 42,
  "queue_config": {},
  "queue_name": "campaign_name:tenant_name@example.com"
}