Repository navigation
Important: Upcoming API Change to Configuration Management Endpoints #2611
mmabrouk
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi everyone
We're planning a breaking change to our Prompt Management API next week. Before implementing this update, we want to ensure it won't disrupt your workflow.
This change only affects you if you're using these API endpoints directly. [If you're using our SDK, no action is required on your part]:
/variants/{variant_id}/variants/configs/* endpoints/configs/ endpoints/apps/{app_id}/revisions/{environment_name}Note:
The change details:
Currently, the API returns JSON with an "ag_config" key containing the configuration. After the update, we'll return only the configuration object itself without the "ag_config" wrapper.
Recommended action:
If you're using these endpoints, please update your code to handle both response formats:
We are planning to make this change next week.
If you are using these endpoints, please let us know. We'll ensure you have sufficient time to implement changes before we deploy the update.
Best regards,
Mahmoud
All reactions