PagerDuty Custom Fields API

Custom fields allow you to enrich PagerDuty incidents with critical and helpful metadata throughout the incident lifecycle.

GitHub OpenAPI

Operations 9

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /incidents/custom_fields Create a custom field on incidents · PagerDuty Create a Field #
Ask an LLM
“How do I add a custom field to incidents?”
“Can I create a custom field with options right away?”
Tell an agent
Create custom field {field}.
Add a new incident custom field {field} with its options.
GET /incidents/custom_fields List custom fields on incidents · PagerDuty List Fields #
Ask an LLM
“What custom fields are defined on my incidents?”
“How many custom fields can an account have?”
Tell an agent
List all custom fields on incidents.
Show every custom field with {include} included.
GET /incidents/custom_fields/{field_id} Get a custom field on incidents · PagerDuty Get a Field #
Ask an LLM
“What type and options does a custom field have?”
“Can I look up one custom field by ID?”
Tell an agent
Show custom field {field_id}.
Get the details of incident custom field {field_id}.
PUT /incidents/custom_fields/{field_id} Update a custom field on incidents · PagerDuty Update a Field #
Ask an LLM
“How do I rename or change a custom field?”
“Can I edit the options of an existing custom field?”
Tell an agent
Update custom field {field_id} with {field}.
Change the type of existing custom field {field_id} to {field}.
DELETE /incidents/custom_fields/{field_id} Delete a custom field on incidents · PagerDuty Delete a Field #
Ask an LLM
“How do I remove a custom field?”
“Why can't I delete a custom field that's still used?”
Tell an agent destructive · confirm first
Delete custom field {field_id}.
Remove the incident custom field {field_id}.
POST /incidents/custom_fields/{field_id}/field_options Add an option to a custom field · PagerDuty Create a Field Option #
Ask an LLM
“How do I add a new option to a custom field?”
“Is there a limit on how many options a custom field can have?”
Tell an agent
Add option {field_option} to custom field {field_id}.
Create a new option {field_option} on field {field_id}.
GET /incidents/custom_fields/{field_id}/field_options List options of a custom field · PagerDuty List Field Options #
Ask an LLM
“What options are available for a custom field?”
“Can I see which values a custom field accepts?”
Tell an agent
List the options of custom field {field_id}.
Show every enabled option for incident custom field {field_id}.
PUT /incidents/custom_fields/{field_id}/field_options/{field_option_id} Update an option of a custom field · PagerDuty Update a Field Option #
Ask an LLM
“How do I rename an existing option on a custom field?”
“Can I edit a single option without touching the field?”
Tell an agent
Update option {field_option_id} of custom field {field_id} to {field_option}.
Rename existing option {field_option_id} on field {field_id}.
DELETE /incidents/custom_fields/{field_id}/field_options/{field_option_id} Remove an option from a custom field · PagerDuty Delete a Field Option #
Ask an LLM
“How do I remove an option from a custom field?”
“Can I delete one option without deleting the field?”
Tell an agent destructive · confirm first
Delete option {field_option_id} from custom field {field_id}.
Remove option {field_option_id} on field {field_id}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/pagerduty:pagerduty-custom-fields-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

pagerduty-custom-fields-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: 'This document describes the PagerDuty REST APIs.


    For guides and examples please visit our Documentation.


    Our REST APIs are defined in OpenAPI v3.x. You can view the schema at github.com/PagerDuty/api-schema.


    Note that properties in some schemas have fields not shown by default such as `readOnly`, `format`, and `default`. Hover your cursor over the right column that looks like `optional+1` to see the full list of fields.'
  contact:
    name: PagerDuty Support
    url: http://www.pagerduty.com/support
    email: support@pagerduty.com
  title: PagerDuty Custom Fields API
  version: 2.0.0
servers:
- url: https://api.pagerduty.com
  description: PagerDuty V2 API.
security:
- api_key: []
tags:


# --- truncated at 32 KB (32 KB total) ---
# Full source: https://artifacts.apis.io/pagerduty/openapi/pagerduty-custom-fields-api-openapi.yml