With the Assistants-API, I was able to create an Assistant in the Platform and call the Assistant from the API.
This way, I could create myAssistant on the platform and tell it „Talk like a pirate“. I could change this later to „Talk like a clown“ on the platform and the response to the API would have changed accordingly.
I thought the prompt ID would replace the Assistant ID and I could get a similar functionality with the responses API. But I have not found any code example on this.
There is no code. No equivalent to Assistants. No creation API.
You have to go into the “chat” playground in the platform site, and use the UI to construct a prompt there with settings. Then when saved with a version, you can obtain a “prompt ID” for reuse, without API for modification, either.
Instead, just manage your own chat history of users in your own coded database, and put a message from “developer” before “user” when your form a full list of messages for the “input” field.
Or when you make an API call, there is an instructions keyword parameter to be filled with your string with instructions you can directly send to the endpoint each time. This also works when using “conversations” stored by the server, so: if you can send an assistant ID and a thread ID, you can also just send the right string of "instructions" directly.