---
title: "List HTTP request definitions"
method: GET
path: "/v1/http-request-definition"
tags: ["HTTP Request Definition"]
---

# List HTTP request definitions

`GET /v1/http-request-definition`

Returns a paginated list of HTTP request definitions for the authenticated project.

## Query parameters

- `limit` integer — Maximum number of definitions to return (default: 20, max: 50)
- `after` string — Cursor for pagination - definition ID to start after

## Response `200`

List of HTTP request definitions

- object
  - `data` HttpRequestDefinitionResponse[], required
    - `id` string, uuid, required — HTTP request definition ID
    - `scope` 'AGENT_OUTBOUND_DIAL', required — Scope of the HTTP request definition
    - `description` string, nullable, required — Description of the HTTP request definition
    - `url` string, required — URL for the HTTP request
    - `method` 'POST' | 'PUT' | 'PATCH' | 'GET', required — HTTP method: POST, PUT, PATCH, or GET
    - `body` string, nullable, required — Request body as a string
    - `parsedBody` union, required — Parsed body as a JSON object if valid JSON, otherwise the raw string
      - object
      - string
    - `headers` object, required — Request headers as key-value pairs
    - `createdAt` string, required — Creation timestamp
    - `updatedAt` string, required — Last update timestamp
  - `pagination` object, required
    - `total` number, required — Total number of items
    - `hasMore` boolean, required — Whether there are more items to fetch
    - `nextCursor` string, nullable, required — Cursor for the next page of items

## Other responses

- `401` — Unauthorized
- `500` — Internal Server Error

---

[API](https://skmtc.net/roarkhq/apis/roark-analytics-api.md) · [All operations](https://skmtc.net/roarkhq/apis/roark-analytics-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/roarkhq/roark-analytics-api/revisions/83528d3618ef/schema)
