Skip to main content

API Overview

The MeetLoyd API provides programmatic access to all platform features. Build custom integrations, automate workflows, and embed AI agents in your applications.

At a Glance

AspectDetails
Base URLhttps://app.meetloyd.com/api/v1
AuthenticationBearer token (API key or OAuth access token)
FormatJSON request and response bodies
VersioningURL-based (/api/v1/). Legacy /api/ alias also supported.
Rate LimitsStarter: 120/min, Growth: 500/min, Enterprise: 5000/min

HTTP Status Codes

CodeMeaning
200Success
201Created
204No Content (successful delete)
400Bad Request -- invalid parameters
401Unauthorized -- invalid or missing API key
403Forbidden -- insufficient permissions
404Not Found
409Conflict -- resource already exists
422Unprocessable Entity -- validation error
429Rate Limited
500Internal Server Error

Available Endpoints

Core Resources

ResourceOperations
AgentsList, Create, Get, Update, Delete, Chat
ConversationsList, Get, Delete, End
TasksList, Create, Get, Run, Cancel
WorkflowsList, Create, Get, Update, Delete, Run
MemoryGet, Set, Delete, Search
TemplatesList, Create, Get, Update, Delete
ManifestsValidate, Resolve, Deploy, List, Export, Upgrade, Rollback

Versioning

Every response includes an X-API-Version: v1 header. Breaking changes result in a new major version (/api/v2). Non-breaking additions ship within the same version. Deprecated versions are supported for 12 months with Deprecation and Sunset headers.

SDKs

Official SDKs are available for TypeScript, Python, and CLI.

Request Format

All requests use JSON with the Content-Type: application/json header. Include your API key in the Authorization: Bearer YOUR_API_KEY header.

For GET requests, use query parameters for filtering, pagination, and sorting.

Response Format

Success Response

Responses wrap data in a data field for single resources, or data + pagination for lists.

Error Response

Errors return a structured object with code, message, and optional details fields.

Error Codes

CodeDescription
AUTHENTICATION_ERRORInvalid API key
AUTHORIZATION_ERRORMissing permissions
VALIDATION_ERRORInvalid request parameters
NOT_FOUNDResource doesn't exist
CONFLICTResource conflict
RATE_LIMITEDToo many requests
INTERNAL_ERRORServer error

Rate Limits

PlanRequests/minBurst
Starter120200
Growth500800
Enterprise50008000

Rate limit headers are included in every response: X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset.

Pagination

ParameterTypeDefaultMax
limitinteger20100
offsetinteger0--

Responses include a pagination object with total, limit, offset, and hasMore.

Filtering & Sorting

Many endpoints support filtering via query parameters (e.g., ?teamId=team-123&state=active) and sorting via the sort parameter (e.g., ?sort=createdAt:desc).

Testing

Use test mode with sk_test_ prefixed API keys for development. Test mode uses a sandbox environment with no charges, relaxed rate limits, and non-persistent data.

Webhooks

Receive real-time event notifications. See Webhooks for details on subscribing to events like conversation.completed, task.failed, and workflow.completed.


Next: Learn about API Authentication to secure your API requests.