Project conversations
/projects/v1/{id}/me/conversations/{cid}/audienceThe owner of one of their own Chat or Research conversations in a project (AIOE 0.41.0). Shares it with the whole project or with named members, or makes it private again (person). Only members of the project can be named. Audited.
A device access token from the device-code flow (aioe_at_…). A DPoP-bound token is sent as Authorization: DPoP <token> with a fresh DPoP proof on every request.
In: header
Path Parameters
The project.
The conversation.
Header Parameters
Mojo Up AI Cloud only, with a person's access token: the id of the organisation the request is for. A person's session is not tied to one organisation, so each request names it. Device tokens already carry their organisation.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X PUT "https://example.com/projects/v1/string/me/conversations/string/audience" \ -H "Content-Type: application/json" \ -d '{ "audience": { "kind": "person" } }'{}/projects/v1/{id}/conversations/sharedFor members of the project (AIOE 0.41.0): the Chat and Research conversations people shared live with the caller or with the whole project, each with its owner.
A device access token from the device-code flow (aioe_at_…). A DPoP-bound token is sent as Authorization: DPoP <token> with a fresh DPoP proof on every request.
In: header
Path Parameters
The project.
Query Parameters
chat or research; both by default.
Value in
- "chat"
- "research"
Only changes after this sequence number.
At most 500.
1 <= value <= 500200Header Parameters
Mojo Up AI Cloud only, with a person's access token: the id of the organisation the request is for. A person's session is not tied to one organisation, so each request names it. Device tokens already carry their organisation.
Response Body
application/json
application/json
application/json
curl -X GET "https://example.com/projects/v1/string/conversations/shared"{ "seq": 0, "conversations": [ {} ]}/projects/v1/{id}/conversations/{principal}/{cid}For members of the project (AIOE 0.41.0): the owner's own conversation, or one shared with the caller. Anything else answers not found, so changing an audience does not reveal that a conversation exists.
A device access token from the device-code flow (aioe_at_…). A DPoP-bound token is sent as Authorization: DPoP <token> with a fresh DPoP proof on every request.
In: header
Path Parameters
The project.
The conversation's owner.
The conversation.
Header Parameters
Mojo Up AI Cloud only, with a person's access token: the id of the organisation the request is for. A person's session is not tied to one organisation, so each request names it. Device tokens already carry their organisation.
Response Body
application/json
application/json
application/json
curl -X GET "https://example.com/projects/v1/string/conversations/string/string"{}/projects/v1/{id}/conversations/{principal}/{cid}/messagesFor members of the project (AIOE 0.41.0): a page of the messages of a conversation the caller may read (see the conversation itself).
A device access token from the device-code flow (aioe_at_…). A DPoP-bound token is sent as Authorization: DPoP <token> with a fresh DPoP proof on every request.
In: header
Path Parameters
The project.
The conversation's owner.
The conversation.
Query Parameters
Only entries after this sequence number.
0 <= value0At most 500.
1 <= value <= 500500Header Parameters
Mojo Up AI Cloud only, with a person's access token: the id of the organisation the request is for. A person's session is not tied to one organisation, so each request names it. Device tokens already carry their organisation.
Response Body
application/json
application/json
application/json
curl -X GET "https://example.com/projects/v1/string/conversations/string/string/messages"{ "entries": [ {} ], "more": true}