Skip to main content

Don't make breaking changes to the Assistants API endpoints

The assistants list API was recently updated to have a different pagination data structure than it had before.

My code was working fine and with no heads up, the API is now returning a different data structure than before.

There used to be a pagination object with the fields inside. Now the fields are not wrapped in the pagination object.

Feature Type
API
11 comments

Log in to comment and vote

Comments11

  • pate4409

    •

    May 7, 2025

    And the pagination data changed shape…

    Old Structure (What matches all the other endpoints pagination structure)

    pagination: z.object({
      total_records: z.number(),
      limit: z.number(),
      offset: z.number()
    })

    New Structure

    total: z.number(),
    page_number: z.number(),
    page_size: z.number()
    • yannick

      •

      May 13, 2025

      The team is working on rolling back the pagination change as well

  • harry

    •

    May 7, 2025

    I’m trying to send https request with the format in the screenshot. It used to work but since 2-3 hours ago I can trigger the call but can’t inject prompt, greeting or any other variable!!!

    Any ideas?

  • maud.haffar

    •

    May 14, 2025

    Does this affect zapier integrations? every new agent that I’m deploying is not working with zapier anymore..