Skip to main content
POST
/
v1
/
resources
Create resource
curl --request POST \
  --url https://api.illuminalab.com/v1/resources/ \
  --header 'Content-Type: application/json' \
  --header 'authorization: <authorization>' \
  --data '
{
  "id": "<string>",
  "metadata": {}
}
'
{
  "resource": {
    "id": "<string>",
    "team_id": "<string>",
    "created_at": "<string>",
    "updated_at": "<string>",
    "metadata": "<string>",
    "working_memory": "<string>"
  }
}

Headers

authorization
string
required
Pattern: ^Bearer [\s\S]{0,}$

Body

id
string
required

Unique resource identifier (minimum 10 characters, no whitespace)

Minimum string length: 10
Pattern: ^\S+$
metadata
object
required

Free-form metadata object (optional)

Response

Response for status 200

resource
object
required

The resource object