Okapi Okapi

Notion API alpha thread messages API removal

Deprecated, no dateSubscribe to Notion APIShare

Notion API deprecated /v1/threads/{id}/messages* without giving a shutdown date yet.


Calls it hits

  • /v1/threads/{id}/messages*

What to use instead of these calls

Call POST /v1/sessions/{}/events/query and read agent replies from agent.message events.

In Notion API's words

The alpha routes are deprecated If you use the alpha routes for listing agents, threads, messages, or chat, migrate to their replacements.

Notion API, Announcement

Facts

API
Notion API api.notion.com
Kind
Removal
Takes effect
No date given yet
Calls after that day
Fail
Source
Announcement
Last updated
Verified
, against Notion API's own pages

Questions

When does this change take effect?

Notion API deprecated /v1/threads/{id}/messages* without giving a shutdown date yet.

Do these calls still work?

Yes, they still work: Notion API has not given a shutdown date yet.

How do I find the calls this hits in my code?

Okapi reads your repository, finds the calls this change hits and opens a pull request with the fix. It never commits to your branches: every change comes as a pull request you review.


More from Notion API 9

  1. No date PATCH /v1/blocks/{id}Parameter removal Deprecated, no date
  2. No date PATCH /v1/data_sources/{id}Parameter removal Deprecated, no date
  3. No date PATCH /v1/databases/{id}Parameter removal Deprecated, no date
  4. No date PATCH /v1/pages/{id}Parameter removal Deprecated, no date
  5. No date GET /v1/agentsEndpoint removal Deprecated, no date
  6. No date PATCH /v1/agents/{id}/statusEndpoint removal Deprecated, no date
  7. No date POST /v1/agents/{id}/chatEndpoint removal Deprecated, no date
  8. No date POST /v1/agents/{id}/chatStreamEndpoint removal Deprecated, no date
  9. No date /v1/agents/{id}/threads*Removal Deprecated, no date

Is your code calling this?

Okapi finds the calls this change hits in your repo and opens the pull request with the fix.

Add to GitHub

Get notifications

Subscribe to Notion API

Hear about each breaking change Notion API announces, in your feed reader, calendar or Slack.

1What to follow

Provider
  • Notion API

2Where to get it

/breaking-changes/feed.xml

Paste it into Feedly, Inoreader, NetNewsWire or any reader. New changes show up as they're announced.