Prompts

✨ List projects compatible with prompt

Changed on

Retrieve a list of compatible project for prompt.

get/api/prompts/compatible-projects

Request

  • Base URL
    http://localhost:8000
  • URL
    http://localhost:8000/api/prompts/compatible-projects
  • Auth
    API key in header Authorization

Query parameters

archivedboolean

Filter by projects that belong to archived workspaces

idsinteger[]

Multiple values may be separated by commas.

is_skill_assessmentboolean

Filter by skill assessments

orderingstring

Which field to use when ordering the results.

pageinteger

A page number within the paginated result set.

page_sizeinteger

Number of results to return per page.

project_type'NamedEntityRecognition' | 'TextClassification'

Skill to filter by

source_interface_idnumber
statestring
titlestring
workspacesinteger

Response

countinteger required
nextstring uri nullable
previousstring uri nullable

Example response

{
  "count": 123,
  "next": "http://api.example.org/accounts/?page=4",
  "previous": "http://api.example.org/accounts/?page=2"
}

Changes

    • info

      added the required property // to the response with the status

    • info

      added the new optional query request parameter is_skill_assessment

    • info

      added the optional property // to the response with the status