Refuel Projects API

The Projects API from Refuel — 6 operation(s) for projects.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 11

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /projects List projects · Get Projects #
Ask an LLM
“Which projects do I have access to?”
“Can I see all my projects at once?”
Tell an agent
List my projects.
Show every project in my account.
POST /projects Create a project · Create Project #
Ask an LLM
“How do I create a new project?”
“What do I need to name and describe a new project?”
Tell an agent
Create a project named {project_name} described as {description}.
Start a new project called {project_name} with description {description}.
GET /projects/{project_id} Get a project · Get Project #
Ask an LLM
“What are the details of one project?”
“Can I look up a single project by ID?”
Tell an agent
Get project {project_id}.
Show the details of project {project_id}.
DELETE /projects/{project_id} Delete a project · Delete Project #
Ask an LLM
“How do I delete a project?”
“Can I remove a project I no longer need?”
Tell an agent destructive · confirm first
Delete project {project_id}.
Remove project {project_id} from my account.
POST /projects/{project_id}/datasets Ingest a dataset into a project · Ingest Dataset V2 #
Ask an LLM
“How do I load a CSV file into a project?”
“Can I redact PII when ingesting a dataset?”
Tell an agent
Ingest {file} into project {project_id} as dataset {name}.
Load {file} into project {project_id} as {name} with PII redaction {redact_pii}.
GET /projects/{project_id}/tasks List tasks in a project · Get Tasks #
Ask an LLM
“What tasks are in a project?”
“Can I see all tasks for one project?”
Tell an agent
List tasks in project {project_id}.
Show every task for project {project_id}.
POST /projects/{project_id}/tasks Create a task in a project · Create Task #
Ask an LLM
“How do I add a new task to a project?”
“Can I copy settings from an existing task when creating a new one?”
Tell an agent
Create task {task_name} in project {project_id}.
Add a new task {task_name} to project {project_id} copying from task {ref_task_id}.
GET /projects/{project_id}/applications List applications in a project · Get Applications #
Ask an LLM
“Which applications exist in a project?”
“Can I see all applications for one project?”
Tell an agent
List applications in project {project_id}.
Show every application for project {project_id}.
POST /projects/{project_id}/applications Create an application in a project · Create Application #
Ask an LLM
“How do I create an application from a task?”
“Can I give a new application a custom name?”
Tell an agent
Create an application from task {task_id} in project {project_id}.
Create application {application_name} in project {project_id} using task {task_id}.
GET /projects/{project_id}/finetuned_models List finetuned models for a task · Get Finetuned Models For Project Task #
Ask an LLM
“Which finetuned models exist for a task?”
“Can I list models trained on a single task?”
Tell an agent
List finetuned models for task {task_id} in project {project_id}.
Show every model trained on task {task_id} in project {project_id}.
POST /projects/{project_id}/finetuned_models Train a model on a project's data · Finetune Model For Task #
Ask an LLM
“How do I fine-tune a model on the training data for one of my projects?”
“Can I cap how many rows a project's model is trained on?”
Tell an agent
Fine-tune {base_model} for task {task_id} in project {project}.
Train a model on up to {max_training_rows} rows of project {project}.

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/refuel-ai:refuel-ai-projects-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

refuel-ai-projects-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Fast Projects API
  version: 0.1.0
tags:
- name: Projects
paths:
  /projects:
    get:
      summary: Get Projects
      operationId: get_projects_projects_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResponseModel_List_'
      security:
      - HTTPBearer: []
      tags:
      - Projects
    post:
      summary: Create Project
      operationId: create_project_projects_post
      parameters:
      - required: true
        schema:
          type: string
          title: Project Name
        name: project_name
        in: query
      - required: true
        schema:
          type: string
          title: Description
        name: description
        in: query
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResponseModel_List_'
        '409':
          description: Conflict Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPError'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
      tags:
      - Projects
  /projects/{project_id}:
    get:
      summary: Get Project
      operationId: get_project_projects__project_id__get
      parameters:
      - required: true
        schema:
          type: string
          title: Project Id
        name: project_id
        in: path
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResponseModel'
        '404':
          description: Not Found Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPError'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
      tags:
      - Projects
    delete:
      summary: Delete Project
      operationId: delete_project_projects__project_id__delete
      parameters:
      - required: true
        schema:
          type: string
          title: Project Id
        name: project_id
        in: path
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResponseModel_ChangeResourceResponse_'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
      tags:
      - Projects
  /projects/{project_id}/datasets:
    post:
      summary: Ingest Dataset V2
      description: 'Ingests a dataset into the platform. We support the following ingestion methods:

        1. Upload a CSV from local disk

        2. Provide an accessible URI to a CSV file'
      operationId: ingest_dataset_v2_projects__project_id__datasets_post
      parameters:
      - required: true
        schema:
          type: string
          title: Project Id
        name: project_id
        in: path
      requestBody:
        content:
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/Body_ingest_dataset_v2_projects__project_id__datasets_post'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResponseModel'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
      tags:
      - Projects
  /projects/{project_id}/tasks:
    get:
      summary: Get Tasks
      description: 'Get tasks for a specific project.


        Args:

        ----

        project_id: ID of the project

        token: Authentication token containing team info


        Returns:

        -------

        ResponseModel: List of tasks for the project


        Raises:

        ------

        HTTPException: If project not found or unauthorized'
      operationId: get_tasks_projects__project_id__tasks_get
      parameters:
      - required: true
        schema:
          type: string
          title: Project Id
        name: project_id
        in: path
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResponseModel_List_'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
      tags:
      - Projects
    post:
      summary: Create Task
      description: 'Create a new task in the specified project.


        Args:

        ----

        project_id: ID of the project to create task in

        task_name: Name of the new task

        task_settings: Dictionary of task configuration settings

        ref_task_id: Optional ID of reference task to copy settings from

        token: Access token for authentication


        Returns:

        -------

        ResponseModel containing the created task details


        Raises:

        ------

        HTTPException: If task creation fails or validation errors occur'
      operationId: create_task_projects__project_id__tasks_post
      parameters:
      - required: true
        schema:
          type: string
          title: Project Id
        name: project_id
        in: path
      - required: true
        schema:
          type: string
          title: Task Name
        name: task_name
        in: query
      - required: false
        schema:
          type: string
          title: Ref Task Id
        name: ref_task_id
        in: query
      requestBody:
        content:
          application/json:
            schema:
              type: object
              title: Task Settings
              default: {}
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResponseModel'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
      tags:
      - Projects
  /projects/{project_id}/applications:
    get:
      summary: Get Applications
      operationId: get_applications_projects__project_id__applications_get
      parameters:
      - required: true
        schema:
          type: string
          title: Project Id
        name: project_id
        in: path
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResponseModel_List_'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
      tags:
      - Projects
    post:
      summary: Create Application
      operationId: create_application_projects__project_id__applications_post
      parameters:
      - required: true
        schema:
          type: string
          title: Project Id
        name: project_id
        in: path
      - required: true
        schema:
          type: string
          title: Task Id
        name: task_id
        in: query
      - required: false
        schema:
          type: string
          title: Application Name
        name: application_name
        in: query
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResponseModel'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
      tags:
      - Projects
  /projects/{project_id}/finetuned_models:
    get:
      summary: Get Finetuned Models For Project Task
      description: Gets all finetuned models for a project.
      operationId: get_finetuned_models_for_project_task_projects__project_id__finetuned_models_get
      parameters:
      - required: true
        schema:
          type: string
          title: Project Id
        name: project_id
        in: path
      - required: false
        schema:
          type: string
          title: Task Id
        name: task_id
        in: query
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
      tags:
      - Projects
    post:
      summary: Finetune Model For Task
      description: 'Triggers finetuning on the given data.

        Training data needs the following data per row:

        - task input columns

        - task instructions

        - label'
      operationId: finetune_model_for_task_projects__project_id__finetuned_models_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TrainModelRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
      tags:
      - Projects
components:
  schemas:
    ResponseModel_ChangeResourceResponse_:
      properties:
        success:
          type: boolean
          title: Success
          default: true
        error_msg:
          type: string
          title: Error Msg
        data:
          $ref: '#/components/schemas/ChangeResourceResponse'
        count:
          type: integer
          title: Count
      type: object
      title: ResponseModel[ChangeResourceResponse]
    HTTPError:
      properties:
        detail:
          type: string
          title: Detail
      type: object
      required:
      - detail
      title: HTTPError
      example:
        detail: HTTPException raised.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    DatasetSource:
      type: string
      enum:
      - databricks
      - file
      - s3
      - snowflake
      - uri
      title: DatasetSource
      description: An enumeration.
    Body_ingest_dataset_v2_projects__project_id__datasets_post:
      properties:
        file:
          type: string
          format: binary
          title: File
        name:
          type: string
          title: Name
        integration_id:
          type: string
          title: Integration Id
        redact_pii:
          type: boolean
          title: Redact Pii
          default: false
        source_path:
          type: string
          title: Source Path
        schema:
          type: string
          title: Schema
        source:
          allOf:
          - $ref: '#/components/schemas/DatasetSource'
          default: file
      type: object
      required:
      - name
      title: Body_ingest_dataset_v2_projects__project_id__datasets_post
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    ResponseModel:
      properties:
        success:
          type: boolean
          title: Success
          default: true
        error_msg:
          type: string
          title: Error Msg
        data:
          title: Data
        count:
          type: integer
          title: Count
      type: object
      title: ResponseModel
    ResponseModel_List_:
      properties:
        success:
          type: boolean
          title: Success
          default: true
        error_msg:
          type: string
          title: Error Msg
        data:
          items: {}
          type: array
          title: Data
        count:
          type: integer
          title: Count
      type: object
      title: ResponseModel[List]
    TrainableBaseModels:
      type: string
      enum:
      - refuel-llm-2-large
      - refuel-llm-2-small
      - refuel-llm-2-mini
      title: TrainableBaseModels
      description: An enumeration.
    ChangeResourceResponse:
      properties:
        success:
          type: boolean
          title: Success
        error:
          type: string
          title: Error
          default: ''
      type: object
      required:
      - success
      title: ChangeResourceResponse
    TrainModelRequest:
      properties:
        project_id:
          type: string
          title: Project Id
        task_id:
          type: string
          title: Task Id
        base_model:
          $ref: '#/components/schemas/TrainableBaseModels'
        max_training_rows:
          type: integer
          title: Max Training Rows
        lora:
          type: boolean
          title: Lora
          default: true
        augmented_finetuning_model:
          type: string
          title: Augmented Finetuning Model
        hyperparameters:
          type: object
          title: Hyperparameters
          default:
            num_epochs: 1
            learning_rate_multiplier: 20
        datasets:
          items: {}
          type: array
          title: Datasets
        comparison_model:
          type: string
          title: Comparison Model
          default: gpt-4o
      type: object
      required:
      - project_id
      - task_id
      - base_model
      title: TrainModelRequest
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer
x-provenance:
  method: harvested
  publisher: Refuel
  source: https://cloud-api.refuel.ai/openapi.json
  note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
    stamped by stamp-openapi-provenance.py (roadmap#793)