---
title: "Get a custom behavior"
method: GET
path: "/api/pulses/behaviors/custom/{id}/"
tags: ["Behaviors"]
---

# Get a custom behavior

`GET /api/pulses/behaviors/custom/{id}/`

## Request

- Base URL: `https://api.respan.ai`
- URL: `https://api.respan.ai/api/pulses/behaviors/custom/{id}/`
- Auth: HTTP bearer

Returns one custom behavior with its tags.

## Path parameters

- `id` string, required

## Response `200`

The behavior.

- CustomBehaviorDetail
  - `id` string, required: Custom behavior ID. It is also the behavior's key in analytics, filters and span verdicts.
  - `name` string, nullable, required: Display name. Optional and not unique; behaviors are identified by `id`.
  - `description` string, required: The plain-language definition span-01 scores each span against. Say what counts and what doesn't. At least 3 characters after trimming.
  - `polarity` 'negative' | 'positive' | 'neutral', required: Whether the behavior firing is good or bad: `negative` (an Issue), `positive` (a Win) or `neutral` (Info). Display metadata only; it does not change how spans are scored.
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required
  - `tags` BehaviorTag[], required: Tags on the behavior.
    - `id` string, required: Tag ID.
    - `name` string, required: Tag name.
    - `color` string, required: Tag color.
    - `created_at` string, date-time, required
    - `updated_at` string, date-time, required
  - `has_write_access` boolean, required: Whether the caller can edit the behavior. Always `true` for an API key of the behavior's organization.

## Other responses

- `403`: Forbidden: the API key is missing, invalid or expired; the key doesn't grant `custom_behaviors:read` (Read access does); behaviors are turned off for the organization.
- `404`: No custom behavior with this ID in your organization.
- `429`: Rate limited. This endpoint allows 30 requests per minute per organization.

## Changes

- **2026-10-21** `c30bcb383ee8`: 3 breaking, 4 info
  - the response's body type changed from `object` to no type for status `200`
  - removed the required property `has_write_access` from the response with the `200` status
  - removed the required property `tags` from the response with the `200` status
  - api operation id `behaviors_retrieveCustomBehavior` removed and replaced with `retrieveCustomBehavior`
  - …3 more
- **2026-10-02** `b830b79cfd52`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/respan/apis/respan-api/changes/api/pulses/behaviors/custom/:id/get.md)

---

[API](https://skmtc.dev/respan/apis/respan-api.md) - [All operations](https://skmtc.dev/respan/apis/respan-api/llms.txt) - [OpenAPI document](https://skmtc.dev/respan/apis/respan-api/revisions/900841387635?raw)
