MeroFoundry Records API
The records API from MeroFoundry — 4 operation(s) for records.
Operations 7
POST
/api/v1/public/apps/{application_id}/records/{record_id}/actions/{action_key}
Public Record Action
#
The records API from MeroFoundry — 4 operation(s) for records.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/merofoundry-com:merofoundry-com-records-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: MeroFoundry Public Records API
version: 0.1.0
tags:
- name: Records
paths:
/api/v1/public/apps/{application_id}/models/{model_id}/records:
get:
operationId: list_public_records_api_v1_public_apps__application_id__models__model_id__records_get
parameters:
- in: path
name: application_id
required: true
schema:
format: uuid
title: Application Id
type: string
- in: path
name: model_id
required: true
schema:
format: uuid
title: Model Id
type: string
- in: query
name: page
required: false
schema:
default: 1
minimum: 1
title: Page
type: integer
- in: query
name: per_page
required: false
schema:
default: 25
maximum: 100
minimum: 1
title: Per Page
type: integer
- in: query
name: sort
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Sort
- in: query
name: order
required: false
schema:
default: asc
pattern: ^(asc|desc)$
title: Order
type: string
- in: header
name: authorization
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Authorization
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/RecordListResponse'
description: Successful Response
'422':
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
description: Validation Error
summary: List Public Records
tags:
- Records
post:
description: 'Create a record as an AUTHENTICATED consumer of this application.
Before this route existed there was no such path: the generic model route refuses a
ConsumerContext ("Consumer JWTs do not grant generic record creation"), so a page-builder
form could only work if its model was `auth_required: false` -- open to anyone who could
reach the page. That is why 16 kanban models carry the opt-out in production.
Anonymous intake deliberately stays on the model route, where `auth_required` governs it.
One gate, in one place.'
operationId: consumer_create_record_api_v1_public_apps__application_id__models__model_id__records_post
parameters:
- in: path
name: application_id
required: true
schema:
format: uuid
title: Application Id
type: string
- in: path
name: model_id
required: true
schema:
format: uuid
title: Model Id
type: string
- in: header
name: authorization
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Authorization
- in: cookie
name: mf_access
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Mf Access
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/CreateRecordRequest'
multipart/form-data:
schema:
additionalProperties:
format: binary
type: string
description: A write that carries files. Each file is a part named `file.<field>` for the file field it fills; the stored file's id becomes that field's value. The files are stored only if the write is allowed.
properties:
payload:
description: The JSON request body, exactly as it would be sent with application/json.
type: string
required:
- payload
type: object
required: true
responses:
'201':
content:
application/json:
schema:
$ref: '#/components/schemas/RecordResponse'
description: Successful Response
'422':
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
description: Validation Error
summary: Consumer Create Record
tags:
- Records
/api/v1/public/apps/{application_id}/models/{model_id}/records/{record_id}:
get:
operationId: get_public_record_api_v1_public_apps__application_id__models__model_id__records__record_id__get
parameters:
- in: path
name: application_id
required: true
schema:
format: uuid
title: Application Id
type: string
- in: path
name: model_id
required: true
schema:
format: uuid
title: Model Id
type: string
- in: path
name: record_id
required: true
schema:
format: uuid
title: Record Id
type: string
- in: header
name: authorization
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Authorization
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/RecordResponse'
description: Successful Response
'422':
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
description: Validation Error
summary: Get Public Record
tags:
- Records
/api/v1/public/apps/{application_id}/records/{record_id}:
delete:
description: 'Delete a record as an AUTHENTICATED consumer of this application.
The admin route rejects a ConsumerContext outright, which is why deleting from a public
app''s own UI returned 403 while the same delete over the admin API returned 204.'
operationId: consumer_delete_record_api_v1_public_apps__application_id__records__record_id__delete
parameters:
- in: path
name: application_id
required: true
schema:
format: uuid
title: Application Id
type: string
- in: path
name: record_id
required: true
schema:
format: uuid
title: Record Id
type: string
- in: header
name: authorization
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Authorization
- in: cookie
name: mf_access
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Mf Access
responses:
'204':
description: Successful Response
'422':
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
description: Validation Error
summary: Consumer Delete Record
tags:
- Records
get:
description: Load an edit binding through the same published/ownership read grant as references.
operationId: consumer_get_record_api_v1_public_apps__application_id__records__record_id__get
parameters:
- in: path
name: application_id
required: true
schema:
format: uuid
title: Application Id
type: string
- in: path
name: record_id
required: true
schema:
format: uuid
title: Record Id
type: string
- in: header
name: authorization
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Authorization
- in: cookie
name: mf_access
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Mf Access
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/RecordResponse'
description: Successful Response
'422':
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
description: Validation Error
summary: Consumer Get Record
tags:
- Records
patch:
description: 'Update a record as an AUTHENTICATED consumer of this application.
This is the BROAD grant: any published field on the record. ``public_record_action``
remains the narrow one -- declared action keys, declared fields, declared preconditions --
and stays the right tool when a consumer should be able to change some things and not
others. They are not redundant.
Without this route an edit form without a `public_action` returns 403 to a logged-in
consumer, which pushes builders back to `auth_required: false`.'
operationId: consumer_update_record_api_v1_public_apps__application_id__records__record_id__patch
parameters:
- in: path
name: application_id
required: true
schema:
format: uuid
title: Application Id
type: string
- in: path
name: record_id
required: true
schema:
format: uuid
title: Record Id
type: string
- in: header
name: authorization
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Authorization
- in: cookie
name: mf_access
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Mf Access
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/UpdateRecordRequest'
multipart/form-data:
schema:
additionalProperties:
format: binary
type: string
description: A write that carries files. Each file is a part named `file.<field>` for the file field it fills; the stored file's id becomes that field's value. The files are stored only if the write is allowed.
properties:
payload:
description: The JSON request body, exactly as it would be sent with application/json.
type: string
required:
- payload
type: object
required: true
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/RecordResponse'
description: Successful Response
'422':
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
description: Validation Error
summary: Consumer Update Record
tags:
- Records
/api/v1/public/apps/{application_id}/records/{record_id}/actions/{action_key}:
post:
operationId: public_record_action_api_v1_public_apps__application_id__records__record_id__actions__action_key__post
parameters:
- in: path
name: application_id
required: true
schema:
format: uuid
title: Application Id
type: string
- in: path
name: record_id
required: true
schema:
format: uuid
title: Record Id
type: string
- in: path
name: action_key
required: true
schema:
title: Action Key
type: string
- in: header
name: authorization
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Authorization
- in: cookie
name: mf_access
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Mf Access
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/PublicRecordActionRequest'
multipart/form-data:
schema:
additionalProperties:
format: binary
type: string
description: A write that carries files. Each file is a part named `file.<field>` for the file field it fills; the stored file's id becomes that field's value. The files are stored only if the write is allowed.
properties:
payload:
description: The JSON request body, exactly as it would be sent with application/json.
type: string
required:
- payload
type: object
required: true
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/RecordResponse'
description: Successful Response
'422':
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
description: Validation Error
summary: Public Record Action
tags:
- Records
components:
schemas:
ValidationError:
properties:
ctx:
title: Context
type: object
input:
title: Input
loc:
items:
anyOf:
- type: string
- type: integer
title: Location
type: array
msg:
title: Message
type: string
type:
title: Error Type
type: string
required:
- loc
- msg
- type
title: ValidationError
type: object
PublicRecordActionRequest:
properties:
data:
additionalProperties: true
title: Data
type: object
required:
- data
title: PublicRecordActionRequest
type: object
PageFormBindingRequest:
description: 'The persisted page form a create submission came from.
The server reads that form''s authored defaults from the stored page; nothing else in this
object, or elsewhere in the body, can supply or replace them.'
properties:
block_id:
minLength: 1
title: Block Id
type: string
page_id:
format: uuid
title: Page Id
type: string
required:
- page_id
- block_id
title: PageFormBindingRequest
type: object
UpdateRecordRequest:
properties:
data:
additionalProperties: true
title: Data
type: object
required:
- data
title: UpdateRecordRequest
type: object
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
title: Detail
type: array
title: HTTPValidationError
type: object
CreateRecordRequest:
properties:
data:
additionalProperties: true
title: Data
type: object
page_form:
anyOf:
- $ref: '#/components/schemas/PageFormBindingRequest'
- type: 'null'
required:
- data
title: CreateRecordRequest
type: object
RecordListResponse:
properties:
items:
items:
$ref: '#/components/schemas/RecordResponse'
title: Items
type: array
page:
title: Page
type: integer
perPage:
title: Perpage
type: integer
total:
title: Total
type: integer
required:
- items
- total
- page
- perPage
title: RecordListResponse
type: object
RecordResponse:
properties:
_resolved:
anyOf:
- additionalProperties:
additionalProperties: true
type: object
type: object
- type: 'null'
title: Resolved
applicationId:
format: uuid
title: Applicationid
type: string
createdAt:
anyOf:
- format: date-time
type: string
- type: 'null'
title: Createdat
createdBy:
anyOf:
- format: uuid
type: string
- type: 'null'
title: Createdby
data:
additionalProperties: true
title: Data
type: object
id:
format: uuid
title: Id
type: string
modelId:
format: uuid
title: Modelid
type: string
redirect:
anyOf:
- type: string
- type: 'null'
title: Redirect
tenantId:
format: uuid
title: Tenantid
type: string
updatedAt:
anyOf:
- format: date-time
type: string
- type: 'null'
title: Updatedat
workspaceId:
format: uuid
title: Workspaceid
type: string
required:
- id
- tenantId
- workspaceId
- applicationId
- modelId
- data
- createdBy
title: RecordResponse
type: object