Credo AI Models API

Operations related to models and model versions

Operations 27

GET /models/{model_id}/files #
POST /models/{model_id}/files #
DELETE /models/{model_id}/questionnaires/{id} #
PATCH /models/{model_id}/questionnaires/{id} #
GET /models/{model_id}/vendor_links #
POST /models/{model_id}/vendor_links #
DELETE /models/{model_id}/vendor_links/{id} #
GET /models/{model_id}/custom_fields #
DELETE /models/{model_id}/versions/{id} #
GET /models/{model_id}/versions/{id} #
PATCH /models/{model_id}/versions/{id} #
DELETE /models/{id} #
GET /models/{id} #
PATCH /models/{id} #
POST /models/{model_id}/questionnaire_sections/{section_id}/tasks #
GET /models #
POST /models #
GET /models/{model_id}/questionnaire_sections/{section_id} #
GET /models/{model_id}/questionnaires #
POST /models/{model_id}/questionnaires #
DELETE /models/{model_id}/evidences/{id} #
GET /models/{model_id}/versions #
POST /models/{model_id}/versions #
GET /models/{model_id}/questionnaire_sections/{section_id}/evidences #
POST /models/{model_id}/questionnaire_sections/{section_id}/evidences #
GET /models/{model_id}/evidences #
DELETE /models/{model_id}/files/{id} #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/credo-ai-models-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API 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. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

credo-ai-models-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: Credo AI server API
  title: Credo AI server Models API
servers:
- url: /api/v2/credoai
tags:
- name: models
  description: Operations related to models and model versions
paths:
  /models/{model_id}/files:
    get:
      description: Retrieve a list of files associated with a specific model.
      operationId: CredoAIWeb.API.V2.Model.FileController.index
      parameters:
      - description: The unique ID of the model whose files are being retrieved.
        in: path
        name: model_id
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/ModelFilesResponse'
        '401':
          description: Unauthorized
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/AuthError'
        '403':
          description: Forbidden
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/ForbiddenError'
      security:
      - Bearer: []
      summary: ''
      tags:
      - models
    post:
      description: Upload a new file for a specific model.
      operationId: CredoAIWeb.API.V2.Model.FileController.create
      parameters:
      - description: The unique ID of the model for whom the file is being created.
        in: path
        name: model_id
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/ModelFileResponse'
        '401':
          description: Unauthorized
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/AuthError'
        '403':
          description: Forbidden
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/ForbiddenError'
        '404':
          description: Not Found
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/NotFoundError'
      security:
      - Bearer: []
      summary: ''
      tags:
      - models
      requestBody:
        content:
          application/vnd.api+json:
            schema:
              $ref: '#/components/schemas/ModelFileCreateRequest'
        description: The attributes of the file to be created.
  /models/{model_id}/questionnaires/{id}:
    delete:
      description: Remove a specific questionnaire from a model's collection.
      operationId: CredoAIWeb.API.V2.Model.QuestionnaireController.delete
      parameters:
      - description: The unique ID of the model.
        in: path
        name: model_id
        required: true
        schema:
          type: string
      - description: The unique ID of the questionnaire to be deleted.
        in: path
        name: id
        required: true
        schema:
          type: string
      responses:
        '204':
          description: No Content
        '401':
          description: Unauthorized
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/AuthError'
        '403':
          description: Forbidden
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/ForbiddenError'
        '404':
          description: Not Found
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/NotFoundError'
      security:
      - Bearer: []
      summary: ''
      tags:
      - models
    patch:
      description: Update the version of a specific questionnaire for a model.
      operationId: CredoAIWeb.API.V2.Model.QuestionnaireController.update
      parameters:
      - description: The unique ID of the model.
        in: path
        name: model_id
        required: true
        schema:
          type: string
      - description: The unique ID of the questionnaire to be updated.
        in: path
        name: id
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/ModelQuestionnaireResponse'
        '401':
          description: Unauthorized
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/AuthError'
        '403':
          description: Forbidden
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/ForbiddenError'
        '404':
          description: Not Found
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/NotFoundError'
      security:
      - Bearer: []
      summary: ''
      tags:
      - models
      requestBody:
        content:
          application/vnd.api+json:
            schema:
              $ref: '#/components/schemas/ModelQuestionnaireUpdateRequest'
        description: The attributes for updating the questionnaire.
  /models/{model_id}/vendor_links:
    get:
      description: Retrieve a list of vendor links associated with a specific model.
      operationId: CredoAIWeb.API.V2.Model.VendorLinkController.index
      parameters:
      - description: The unique ID of the model.
        in: path
        name: model_id
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/ModelVendorLinksResponse'
        '401':
          description: Unauthorized
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/AuthError'
      security:
      - Bearer: []
      summary: ''
      tags:
      - models
    post:
      description: Create a new vendor link for a specific model.
      operationId: CredoAIWeb.API.V2.Model.VendorLinkController.create
      parameters:
      - description: The unique ID of the model.
        in: path
        name: model_id
        required: true
        schema:
          type: string
      responses:
        '201':
          description: Created
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/ModelVendorLinkResponse'
        '401':
          description: Unauthorized
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/AuthError'
        '403':
          description: Forbidden
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/ForbiddenError'
        '404':
          description: Not Found
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/NotFoundError'
      security:
      - Bearer: []
      summary: ''
      tags:
      - models
      requestBody:
        content:
          application/vnd.api+json:
            schema:
              $ref: '#/components/schemas/ModelVendorLinkCreateRequest'
        description: The attributes for the new vendor link.
  /models/{model_id}/vendor_links/{id}:
    delete:
      description: Delete a specific vendor link associated with a model.
      operationId: CredoAIWeb.API.V2.Model.VendorLinkController.delete
      parameters:
      - description: The unique ID of the model.
        in: path
        name: model_id
        required: true
        schema:
          type: string
      - description: The unique ID of the vendor link to be deleted.
        in: path
        name: id
        required: true
        schema:
          type: string
      responses:
        '204':
          description: No Content
        '401':
          description: Unauthorized
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/AuthError'
        '403':
          description: Forbidden
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/ForbiddenError'
        '404':
          description: Not Found
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/NotFoundError'
      security:
      - Bearer: []
      summary: ''
      tags:
      - models
  /models/{model_id}/custom_fields:
    get:
      description: Retrieve a list of all custom fields associated with a specific model.
      operationId: CredoAIWeb.API.V2.Model.CustomFieldController.index
      parameters:
      - description: The unique ID of the model.
        in: path
        name: model_id
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/ModelCustomFieldsResponse'
        '401':
          description: Unauthorized
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/AuthError'
        '404':
          description: Not Found
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/NotFoundError'
      security:
      - Bearer: []
      summary: ''
      tags:
      - models
  /models/{model_id}/versions/{id}:
    delete:
      description: Delete a specific model version identified by its unique ID.
      operationId: CredoAIWeb.API.V2.Model.VersionController.delete
      parameters:
      - description: The unique identifier of the model.
        in: path
        name: model_id
        required: true
        schema:
          type: string
      - description: The unique identifier of the model version.
        in: path
        name: id
        required: true
        schema:
          type: string
      responses:
        '204':
          description: No Content
        '401':
          description: Unauthorized
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/AuthError'
        '403':
          description: Forbidden
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/ForbiddenError'
        '404':
          description: Not Found
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/NotFoundError'
      security:
      - Bearer: []
      summary: ''
      tags:
      - models
    get:
      description: Retrieve details of a specific model version identified by its unique ID.
      operationId: CredoAIWeb.API.V2.Model.VersionController.show
      parameters:
      - description: The unique identifier of the model.
        in: path
        name: model_id
        required: true
        schema:
          type: string
      - description: The unique identifier of the model version.
        in: path
        name: id
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/ModelVersionResponse'
        '401':
          description: Unauthorized
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/AuthError'
        '404':
          description: Not Found
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/NotFoundError'
      security:
      - Bearer: []
      summary: ''
      tags:
      - models
    patch:
      description: Update the attributes of a specific model version identified by its unique ID.
      operationId: CredoAIWeb.API.V2.Model.VersionController.update
      parameters:
      - description: The unique identifier of the model.
        in: path
        name: model_id
        required: true
        schema:
          type: string
      - description: The unique identifier of the model version.
        in: path
        name: id
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/ModelVersionResponse'
        '401':
          description: Unauthorized
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/AuthError'
        '403':
          description: Forbidden
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/ForbiddenError'
        '404':
          description: Not Found
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/NotFoundError'
      security:
      - Bearer: []
      summary: ''
      tags:
      - models
      requestBody:
        content:
          application/vnd.api+json:
            schema:
              $ref: '#/components/schemas/ModelVersionUpdateRequest'
        description: Updated attributes for the model version.
  /models/{id}:
    delete:
      description: Delete a specific model identified by its ID from the system.
      operationId: CredoAIWeb.API.V2.ModelController.delete
      parameters:
      - description: Unique identifier of the model to delete
        in: path
        name: id
        required: true
        schema:
          type: string
      responses:
        '204':
          description: No Content
        '401':
          description: Unauthorized
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/AuthError'
        '403':
          description: Forbidden
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/ForbiddenError'
        '404':
          description: Not Found
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/NotFoundError'
      security:
      - Bearer: []
      summary: ''
      tags:
      - models
    get:
      description: Retrieve detailed information about a specific model identified by its ID.
      operationId: CredoAIWeb.API.V2.ModelController.show
      parameters:
      - description: user,model_project,workflows,metrics,stakeholders,tags,assets,vendors
        in: query
        name: include
        required: false
        x-example: user,model_project,workflows,metrics,stakeholders,tags,assets,vendors
        schema:
          type: string
      - description: Unique identifier of the model to retrieve
        in: path
        name: id
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/ModelResponse'
        '401':
          description: Unauthorized
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/AuthError'
        '404':
          description: Not Found
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/NotFoundError'
      security:
      - Bearer: []
      summary: ''
      tags:
      - models
    patch:
      description: Update the attributes of an existing model identified by its ID.
      operationId: CredoAIWeb.API.V2.ModelController.update
      parameters:
      - description: Unique identifier of the model to update
        in: path
        name: id
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/ModelResponse'
        '401':
          description: Unauthorized
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/AuthError'
        '403':
          description: Forbidden
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/ForbiddenError'
        '404':
          description: Not Found
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/NotFoundError'
      security:
      - Bearer: []
      summary: ''
      tags:
      - models
      requestBody:
        content:
          application/vnd.api+json:
            schema:
              $ref: '#/components/schemas/ModelUpdateRequest'
        description: Attributes to update the model
  /models/{model_id}/questionnaire_sections/{section_id}/tasks:
    post:
      description: Creates a new task for a model questionnaire section
      operationId: CredoAIWeb.API.V2.Model.Questionnaire.SectionController.create_task
      parameters:
      - description: The unique ID of the model
        in: path
        name: model_id
        required: true
        schema:
          type: string
      - description: The unique ID of the questionnaire section
        in: path
        name: section_id
        required: true
        schema:
          type: string
      responses:
        '201':
          description: Created
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/TaskResponse'
        '401':
          description: Unauthorized
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/AuthError'
        '403':
          description: Forbidden
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/ForbiddenError'
        '404':
          description: Not Found
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/NotFoundError'
      security:
      - Bearer: []
      summary: ''
      tags:
      - models
      requestBody:
        content:
          application/vnd.api+json:
            schema:
              $ref: '#/components/schemas/TaskResource'
        description: The task creation details
  /models:
    get:
      description: Retrieve a list of all models available in the system.
      operationId: CredoAIWeb.API.V2.ModelController.index
      parameters:
      - description: page after cursor
        in: query
        name: page[after]
        required: false
        schema:
          type: string
      - description: page before cursor
        in: query
        name: page[before]
        required: false
        schema:
          type: string
      - description: page limit
        in: query
        name: page[limit]
        required: false
        schema:
          type: integer
      - description: sort options
        in: query
        name: sort
        required: false
        x-example: -inserted_at
        schema:
          type: string
      - description: name filter type
        in: query
        name: filter[name][type]
        required: false
        schema:
          type: string
      - description: name filter value
        in: query
        name: filter[name][value]
        required: false
        schema:
          type: string
      - description: Filter models by tag name
        in: query
        name: filter[tags.name][]
        required: false
        schema:
          type: string
      - description: Filter models by their unique identifier
        in: query
        name: filter[id][]
        required: false
        schema:
          type: string
      - description: Filter models by source
        in: query
        name: filter[source]
        required: false
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/ModelsPageResponse'
        '401':
          description: Unauthorized
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/AuthError'
      security:
      - Bearer: []
      summary: ''
      tags:
      - models
    post:
      description: Create a new model with the specified attributes.
      operationId: CredoAIWeb.API.V2.ModelController.create
      responses:
        '201':
          description: Created
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/ModelResponse'
        '401':
          description: Unauthorized
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/AuthError'
        '403':
          description: Forbidden
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/ForbiddenError'
      security:
      - Bearer: []
      summary: ''
      tags:
      - models
      requestBody:
        content:
          application/vnd.api+json:
            schema:
              $ref: '#/components/schemas/ModelCreateRequest'
        description: Attributes required to create a new model
  /models/{model_id}/questionnaire_sections/{section_id}:
    get:
      description: Retrieves a specific questionnaire section for a model
      operationId: CredoAIWeb.API.V2.Model.Questionnaire.SectionController.show
      parameters:
      - description: The unique ID of the model
        in: path
        name: model_id
        required: true
        schema:
          type: string
      - description: The unique ID of the questionnaire section
        in: path
        name: section_id
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/ModelQuestionnaireSectionResponse'
        '401':
          description: Unauthorized
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/AuthError'
        '403':
          description: Forbidden
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/ForbiddenError'
        '404':
          description: Not Found
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/NotFoundError'
      security:
      - Bearer: []
      summary: ''
      tags:
      - models
  /models/{model_id}/questionnaires:
    get:
      description: Retrieve a list of all questionnaires associated with a specific model.
      operationId: CredoAIWeb.API.V2.Model.QuestionnaireController.index
      parameters:
      - description: The unique ID of the model.
        in: path
        name: model_id
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/ModelQuestionnairesResponse'
        '401':
          description: Unauthorized
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/AuthError'
        '404':
          description: Not Found
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/NotFoundError'
      security:
      - Bearer: []
      summary: ''
      tags:
      - models
    post:
      description: Create a new questionnaire for a specific model.
      operationId: CredoAIWeb.API.V2.Model.QuestionnaireController.create
      parameters:
      - description: The unique ID of the model.
        in: path
        name: model_id
        required: true
        schema:
          type: string
      responses:
        '201':
          description: Created
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/ModelQuestionnaireResponse'
        '401':
          description: Unauthorized
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/AuthError'
        '403':
          description: Forbidden
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/ForbiddenError'
        '404':
          description: Not Found
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/NotFoundError'
      security:
      - Bearer: []
      summary: ''
      tags:
      - models
      requestBody:
        content:
          application/vnd.api+json:
            schema:
              $ref: '#/components/schemas/ModelQuestionnaireCreateRequest'
        description: The attributes for the new questionnaire.
  /models/{model_id}/evidences/{id}:
    delete:
      description: Deactivate a specific evidence for the given model.
      operationId: CredoAIWeb.API.V2.Model.EvidenceController.delete
      parameters:
      - description: The unique ID of the model.
        in: path
        name: model_id
        required: true
        schema:
          type: string
      - description: The unique ID of the evidence to be deactivated.
        in: path
        name: id
        required: true
        schema:
          type: string
      responses:
        '204':
          description: No Content
        '401':
          description: Unauthorized
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/AuthError'
        '403':
          description: Forbidden
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/ForbiddenError'
        '404':
          description: Not Found
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/NotFoundError'
      security:
      - Bearer: []
      summary: ''
      tags:
      - models
  /models/{model_id}/versions:
    get:
      description: Retrieve a list of all model versions associated with the specified model.
      operationId: CredoAIWeb.API.V2.Model.VersionController.index
      parameters:
      - description: The unique identifier of the model.
        in: path
        name: model_id
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/ModelVersionsResponse'
        '401':
          description: Unauthorized
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/AuthError'
      security:
      - Bearer: []
      summary: ''
      tags:
      - models
    post:
      description: Create a new version for the specified model with the provided attributes.
      operationId: CredoAIWeb.API.V2.Model.VersionController.create
      parameters:
      - description: The unique identifier of the model.
        in: path
        name: model_id
        required: true
        schema:
          type: string
      responses:
        '201':
          description: Created
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/ModelVersionResponse'
        '401':
          description: Unauthorized
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/AuthError'
        '403':
          description: Forbidden
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/ForbiddenError'
      security:
      - Bearer: []
      summary: ''
      tags:
      - models
      requestBody:
        content:
          application/vnd.api+json:
            schema:
              $ref: '#/components/schemas/ModelVersionCreateRequest'
        description: Attributes for the new model version.
  /models/{model_id}/questionnaire_sections/{section_id}/evidences:
    get:
      description: List all evidences for a specific questionnaire section in a model.
      operationId: CredoAIWeb.API.V2.Model.Questionnaire.SectionEvidenceController.index
      parameters:
      - description: The unique ID of the model.
        in: path
        name: model_id
        required: true
        schema:
          type: string
      - description: The unique ID of the questionnaire section.
        in: path
        name: section_id
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/ModelEvidencesResponse'
        '401':
          description: Unauthorized
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/AuthError'
        '404':
          description: Not Found
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/NotFoundError'
      security:
      - Bearer: []
      summary: ''
      tags:
      - models
    post:
      description: Create a new evidence for a specific questionnaire section in a model.
      operationId: CredoAIWeb.API.V2.Model.Questionnaire.SectionEvidenceController.create
      parameters:
      - description: The unique ID of the model.
        in: path
        name: model_id
        required: true
        schema:
          type: string
      - description: The unique ID of the questionnaire section.
        in: path
        name: section_id
        required: true
        schema:
          type: string
      responses:
        '201':
          description: Created
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/ModelEvidenceResponse'
        '401':
          description: Unauthorized
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/AuthError'
        '403':
          description: Forbidden
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/ForbiddenError'
        '404':
          description: Not Found
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/NotFoundError'
      security:
      - Bearer: []
      summary: ''
      tags:
      - models
      requestBody:
        content:
          application/vnd.api+json:
            schema:
              $ref: '#/components/schemas/ModelEvidenceCreateRequest'
        description: The attributes for the new evidence.
  /models/{model_id}/evidences:
    get:
      description: Retrieve a list of active evidences associated with a specific model.
      operationId: CredoAIWeb.API.V2.Model.EvidenceController.index
      parameters:
      - description: type match filter
        in: query
        name: filter[type]
        required: false
        schema:
          type: string
      - description: sort options
        in: query
        name: sort
        required: false
        x-example: -inserted_a

# --- truncated at 32 KB (69 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/credo-ai/refs/heads/main/openapi/credo-ai-models-api-openapi.yml