Skip to main content
GET
/
v3
/
designs
/
{editorId}
/
messages
Read recent message history
curl --request GET \
  --url https://api.magicpatterns.com/api/v3/designs/{editorId}/messages \
  --header 'x-mp-api-key: <api-key>'
{
  "items": [
    {
      "id": "<string>",
      "role": "assistant",
      "app": "<string>",
      "content": [
        "<unknown>"
      ],
      "timeCreated": 123
    }
  ],
  "hasMore": true
}

Documentation Index

Fetch the complete documentation index at: https://magicpatterns.mintlify.dev/docs/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

x-mp-api-key
string
header
required

Magic Patterns API key. The same key authenticates v3 REST and the MCP server. Create one at https://www.magicpatterns.com/settings/api-keys.

Path Parameters

editorId
string
required

The design's editor ID.

Example:

"abc123"

Query Parameters

skip
integer
default:0

Number of most-recent items to skip (for pagination). Defaults to 0.

Required range: x >= 0

Response

Paginated chat history.

items
object[]
hasMore
boolean

True if there are older items beyond this page. Paginate with ?skip=.