Install a provider's featured models, or up to 50 chosen ones, as org model library entries.
Install a provider's featured models, or up to 50 chosen ones, as org model library entries. - Rensei REST API operation reference.
AuthorizationBearer <WorkOS user access token>WorkOS user access token created by the Rensei CLI. The authenticated organization is resolved from membership and may be narrowed with X-Rensei-Org.
application/json- body
provider*stringThe catalog provider whose models are installed, such as vercel-gateway. Every chosen id must be a model of this provider.
1 <= length <= 100selection*|Which models to install. There is no unbounded selection.
projectId?stringProject install: new entries select exactly this project; an existing entry gains only this project.
1 <= length <= 200A result for every entry. Entries are independent: one that is unavailable or failed does not affect the others.
application/json- response
bulkOperationId*stringShared by the audit events this request wrote, one per entry it created.
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$uuidprovider*stringitems*array<>counts*curl -X POST 'https://app.rensei.ai/api/marketplace/models/install-batch' \ -H 'Content-Type: application/json' \ -d '{ "provider": "string", "selection": { "kind": "featured" }}'{ "bulkOperationId": "6b3f29e8-b5ae-457b-aedb-2b0e4d8fe306", "provider": "string", "items": [ { "catalogId": "string", "modelIdentityId": "string", "displayName": "string", "status": "installed", "entryId": "string", "code": "string", "message": "string" } ], "counts": { "installed": -9007199254740991, "already_installed": -9007199254740991, "unavailable": -9007199254740991, "failed": -9007199254740991 }}Install a model card as an org model library entry.
Install a model card as an org model library entry. - Rensei REST API operation reference.
Issue M2M access token (client_credentials)
OAuth 2.0 `client_credentials` grant. The canonical request media type is `application/x-www-form-urlencoded`; `application/json` remains accepted for backward wire compatibility. Returns a short-lived `Bearer` access token. M2M clients are provisioned in the admin panel (`POST /api/admin/m2m-clients`).