Rollbar Items API

Manage error and message items tracked by Rollbar. Items represent unique errors or messages grouped by fingerprint.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).
Business capability
Observability Management BC-4220.20

Operations 5

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 /item/ Report an error or message to Rollbar · Create an Item #
Ask an LLM
“How do I send an error or message to Rollbar from my own code?”
“Can I report an item with a custom title and assigned user?”
Tell an agent
Report item {data} to Rollbar with access token {access_token}.
Send a message to Rollbar using {access_token}.
GET /items/ List all items in the project · List All Items #
Ask an LLM
“What errors have been reported in my project?”
“Can I list only unresolved items or only warnings and errors?”
Tell an agent
List all items in the project.
List {level} items in the {environment} environment.
GET /item/{itemId} Get an item by its internal ID · Get an Item by ID #
Ask an LLM
“How do I look up an item using its internal item ID?”
“Is the internal item ID the same as the number in the URL?”
Tell an agent
Get item {itemId}.
Show the details of internal item {itemId}.
PATCH /item/{itemId} Resolve, mute or reassign an item · Update an Item #
Ask an LLM
“How do I mark an error as resolved?”
“Can I change the severity level of an item or assign it to a teammate?”
Tell an agent
Set item {itemId} status to {status}.
Resolve item {itemId} in version {resolved_in_version}.
GET /item_by_counter/{counter} Get an item by its project counter · Get an Item by Project Counter #
Ask an LLM
“How do I open an item using the number from its URL?”
“Does the project counter in the URL point to the right item?”
Tell an agent
Get item {counter} by project counter.
Open the item with URL number {counter}.

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/rollbar:rollbar-items-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

rollbar-items-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Rollbar REST Items API
  description: The Rollbar REST API provides programmatic access to the Rollbar error tracking and monitoring platform.
  version: '1'
  contact:
    name: Rollbar Support
    url: https://rollbar.com/support/
  termsOfService: https://rollbar.com/terms/
servers:
- url: https://api.rollbar.com/api/1
  description: Production Server
security:
- accessToken: []
tags:
- name: Items
  description: Manage error and message items tracked by Rollbar. Items represent unique errors or messages grouped by fingerprint.
paths:
  /item/:
    post:
      operationId: createItem
      summary: Create an Item
      description: Reports an error or message to Rollbar. This is the primary endpoint used by Rollbar SDKs to send data. The request body should contain the error or message payload in Rollbar's item format.
      tags:
      - Items
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateItemRequest'
      responses:
        '200':
          description: Item created successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ItemResponse'
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '429':
          description: Rate limit exceeded
  /items/:
    get:
      operationId: listAllItems
      summary: List All Items
      description: Returns all items in the project, ordered by most recent occurrence. Supports filtering by status, level, and environment, with pagination.
      tags:
      - Items
      parameters:
      - $ref: '#/components/parameters/StatusFilter'
      - $ref: '#/components/parameters/LevelFilter'
      - $ref: '#/components/parameters/EnvironmentFilter'
      - $ref: '#/components/parameters/PageParam'
      responses:
        '200':
          description: List of items
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ItemListResponse'
        '401':
          description: Unauthorized
  /item/{itemId}:
    get:
      operationId: getItemById
      summary: Get an Item by ID
      description: Returns a single item by its internal item ID. Note that this is different from the project counter visible in Rollbar URLs.
      tags:
      - Items
      parameters:
      - $ref: '#/components/parameters/ItemIdParam'
      responses:
        '200':
          description: Item details
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ItemResponse'
        '401':
          description: Unauthorized
        '404':
          description: Item not found
    patch:
      operationId: updateItem
      summary: Update an Item
      description: Updates properties of an item, such as its status, level, title, or assigned user. Commonly used to resolve or mute items.
      tags:
      - Items
      parameters:
      - $ref: '#/components/parameters/ItemIdParam'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateItemRequest'
      responses:
        '200':
          description: Item updated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ItemResponse'
        '401':
          description: Unauthorized
        '404':
          description: Item not found
        '422':
          description: Unprocessable entity
  /item_by_counter/{counter}:
    get:
      operationId: getItemByCounter
      summary: Get an Item by Project Counter
      description: Returns an item by its project counter. The counter is the number shown in Rollbar URLs (e.g., items/456). Returns a 301 redirect to the item resource.
      tags:
      - Items
      parameters:
      - $ref: '#/components/parameters/CounterParam'
      responses:
        '301':
          description: Redirect to item resource
        '401':
          description: Unauthorized
        '404':
          description: Item not found
components:
  parameters:
    StatusFilter:
      name: status
      in: query
      required: false
      description: Filter items by status.
      schema:
        type: string
        enum:
        - active
        - resolved
        - muted
        - any
    ItemIdParam:
      name: itemId
      in: path
      required: true
      description: The internal item ID. This is different from the project counter shown in Rollbar URLs.
      schema:
        type: integer
    CounterParam:
      name: counter
      in: path
      required: true
      description: The project counter for an item, as shown in Rollbar URLs (e.g., items/456 where 456 is the counter).
      schema:
        type: integer
    LevelFilter:
      name: level
      in: query
      required: false
      description: Filter items by level.
      schema:
        type: string
        enum:
        - critical
        - error
        - warning
        - info
        - debug
    PageParam:
      name: page
      in: query
      required: false
      description: Page number for pagination. Defaults to 1.
      schema:
        type: integer
        minimum: 1
        default: 1
    EnvironmentFilter:
      name: environment
      in: query
      required: false
      description: Filter items by environment name.
      schema:
        type: string
  schemas:
    CreateItemRequest:
      type: object
      description: Request body for creating a new item (error or message report).
      required:
      - access_token
      - data
      properties:
        access_token:
          type: string
          description: A post_server_item or post_client_item access token.
        data:
          type: object
          description: The item data payload.
          required:
          - environment
          - body
          properties:
            environment:
              type: string
              description: The environment name (e.g., production, staging).
              maxLength: 255
            body:
              type: object
              description: The body of the item, containing error trace or message.
            level:
              type: string
              description: The severity level.
              enum:
              - critical
              - error
              - warning
              - info
              - debug
            timestamp:
              type: integer
              description: Unix timestamp when the error occurred.
            code_version:
              type: string
              description: A string identifying the version of the application code.
              maxLength: 40
            platform:
              type: string
              description: The platform on which the error occurred.
            language:
              type: string
              description: The programming language of the code.
            framework:
              type: string
              description: The framework being used.
            server:
              type: object
              description: Server-related metadata.
            request:
              type: object
              description: HTTP request metadata if applicable.
            person:
              type: object
              description: Person/user who experienced the error.
            custom:
              type: object
              description: Custom key-value data to include with the item.
    Item:
      type: object
      description: An item represents a unique error or message tracked by Rollbar, grouped by fingerprint.
      properties:
        id:
          type: integer
          description: The internal item ID.
        counter:
          type: integer
          description: The project-specific counter for this item.
        environment:
          type: string
          description: The environment where this item was first seen.
        framework:
          type: integer
          description: Framework identifier code.
        hash:
          type: string
          description: The fingerprint hash used to group occurrences into this item.
        title:
          type: string
          description: The title or summary of the item.
        first_occurrence_id:
          type: integer
          description: The ID of the first occurrence of this item.
        first_occurrence_timestamp:
          type: integer
          description: Unix timestamp of the first occurrence.
        last_occurrence_id:
          type: integer
          description: The ID of the most recent occurrence.
        last_occurrence_timestamp:
          type: integer
          description: Unix timestamp of the most recent occurrence.
        level:
          type: string
          description: The severity level of the item.
          enum:
          - critical
          - error
          - warning
          - info
          - debug
        status:
          type: string
          description: The current status of the item.
          enum:
          - active
          - resolved
          - muted
        total_occurrences:
          type: integer
          description: Total number of occurrences of this item.
        unique_occurrences:
          type: integer
          description: Number of unique occurrences.
        project_id:
          type: integer
          description: The project ID this item belongs to.
        resolved_in_version:
          type: string
          description: The version in which this item was resolved.
        assigned_user_id:
          type: integer
          description: The user ID of the assigned user.
    ItemListResponse:
      type: object
      properties:
        err:
          type: integer
          description: Error code. 0 indicates success.
        result:
          type: object
          properties:
            items:
              type: array
              items:
                $ref: '#/components/schemas/Item'
            page:
              type: integer
              description: Current page number.
    UpdateItemRequest:
      type: object
      description: Request body for updating an item.
      properties:
        status:
          type: string
          description: The new status for the item.
          enum:
          - active
          - resolved
          - muted
        level:
          type: string
          description: The new severity level.
          enum:
          - critical
          - error
          - warning
          - info
          - debug
        title:
          type: string
          description: A custom title for the item.
        assigned_user_id:
          type: integer
          description: The user ID to assign this item to.
        resolved_in_version:
          type: string
          description: The version in which this item was resolved.
    ItemResponse:
      type: object
      properties:
        err:
          type: integer
          description: Error code. 0 indicates success.
        result:
          $ref: '#/components/schemas/Item'
  securitySchemes:
    accessToken:
      type: apiKey
      in: header
      name: X-Rollbar-Access-Token
      description: Rollbar access token for authentication. Different token scopes are required for different operations.
externalDocs:
  description: Rollbar API Documentation
  url: https://docs.rollbar.com/reference/getting-started-1