WeaveKit Docs

Create a record

Validates the body against the schema, runs RBAC and script hooks, and audits the write.

POST/api/objects/{name}

Validates the body against the schema, runs RBAC and script hooks, and audits the write.

Authorization

bearerAuth
AuthorizationBearer <token>

API key present in auth.source (or resolved by an AuthResolver).

In: header

Path Parameters

name*string

Object name from objects/<name>/schema.json.

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 POST "https://example.com/api/objects/string" \  -H "Content-Type: application/json" \  -d '{}'
{}