Skip to main content

Create API Resource

Endpoint: POST /api/v1/resource Purpose: Allows clients to create a new resource in the Enigma AI platform. Request Body (JSON):
Response:
  • 201 Created – Resource successfully created.
  • Body:
Error Cases:
  • 400 Bad Request – Validation failed.
  • 401 Unauthorized – Missing or invalid API key.
  • 409 Conflict – Resource with the same name already exists.
Authentication: Uses API key passed in the Authorization: Bearer <token> header. Permissions: Requires resource:create scope.