> ## Documentation Index
> Fetch the complete documentation index at: https://docs.causeloop.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Create Service Endpoint

> E1 — FREE: attach (register routing + inference_services row, no
Render call). PROD: kicks off the Render create/deploy/poll flow.
EVAL_REQUIRED guard: refuses (409) to host an artifact that is not
eval_passed|approved. PLAN §2.3 cost guard: plan='pro' additionally
requires staff:admin (checked here, not just the router-level
staff:ml_eng floor, since it depends on the request BODY).



## OpenAPI

````yaml /openapi.json post /v1/provisioning/client-profiles/{client_id}/services
openapi: 3.1.0
info:
  description: Causeloop Platform Backend
  title: Causeloop API
  version: 1.0.0
servers: []
security: []
paths:
  /v1/provisioning/client-profiles/{client_id}/services:
    post:
      tags:
        - provisioning-portal
      summary: Create Service Endpoint
      description: |-
        E1 — FREE: attach (register routing + inference_services row, no
        Render call). PROD: kicks off the Render create/deploy/poll flow.
        EVAL_REQUIRED guard: refuses (409) to host an artifact that is not
        eval_passed|approved. PLAN §2.3 cost guard: plan='pro' additionally
        requires staff:admin (checked here, not just the router-level
        staff:ml_eng floor, since it depends on the request BODY).
      operationId: >-
        create_service_endpoint_v1_provisioning_client_profiles__client_id__services_post
      parameters:
        - in: path
          name: client_id
          required: true
          schema:
            title: Client Id
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateServiceRequest'
        required: true
      responses:
        '201':
          content:
            application/json:
              schema: {}
          description: Successful Response
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
      security:
        - HTTPBearer: []
components:
  schemas:
    CreateServiceRequest:
      properties:
        auth_mode:
          default: service_token
          title: Auth Mode
          type: string
        canary_pct:
          default: 0
          title: Canary Pct
          type: integer
        drift_policy:
          additionalProperties: true
          title: Drift Policy
          type: object
        endpoint_name:
          anyOf:
            - type: string
            - type: 'null'
          title: Endpoint Name
        max_instances:
          default: 3
          title: Max Instances
          type: integer
        min_instances:
          default: 1
          title: Min Instances
          type: integer
        plan:
          default: starter
          title: Plan
          type: string
      title: CreateServiceRequest
      type: object
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          title: Detail
          type: array
      title: HTTPValidationError
      type: object
    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
  securitySchemes:
    HTTPBearer:
      scheme: bearer
      type: http

````