Julep Tasks API

The Tasks API from Julep — 2 operation(s) for tasks.

Operations 3

GET /tasks/{id} #
POST /tasks/{id}/executions #
GET /tasks/{id}/executions #

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/julep-tasks-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

julep-tasks-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Julep Agents Tasks API
  termsOfService: https://julep.ai/terms
  contact:
    name: Julep AI
    url: https://julep.ai
    email: developers@julep.ai
  license:
    name: Apache 2.0
    url: https://www.apache.org/licenses/LICENSE-2.0.html
  description: Julep is a backend for creating stateful AI apps with background tasks and long-term memory easily.
  version: 1.0.0
servers:
- url: https://{serverEnv}.julep.ai/api
  description: The julep cloud service endpoint
  variables:
    serverEnv:
      default: api
      description: The environment to use
      enum:
      - api
      - dev
security:
- ApiKeyAuth: []
- ApiKeyAuth_: []
tags:
- name: Tasks
paths:
  /tasks/{id}:
    get:
      operationId: TasksGetRoute_get
      description: Get a task by id
      parameters:
      - name: id
        in: path
        required: true
        description: ID of the resource
        schema:
          $ref: '#/components/schemas/Common.uuid'
      responses:
        '200':
          description: The request has succeeded.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Tasks.Task'
      tags:
      - Tasks
  /tasks/{id}/executions:
    post:
      operationId: TaskExecutionsRoute_create
      description: Create an execution for the given task
      parameters:
      - name: id
        in: path
        required: true
        description: ID of parent resource
        schema:
          $ref: '#/components/schemas/Common.uuid'
      responses:
        '201':
          description: The request has succeeded and a new resource has been created as a result.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Executions.Execution'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Executions.CreateExecutionRequest'
      tags:
      - Tasks
    get:
      operationId: TaskExecutionsRoute_list
      description: List executions of the given task
      parameters:
      - name: id
        in: path
        required: true
        description: ID of parent
        schema:
          $ref: '#/components/schemas/Common.uuid'
      - $ref: '#/components/parameters/Common.PaginationOptions.limit'
      - $ref: '#/components/parameters/Common.PaginationOptions.offset'
      - $ref: '#/components/parameters/Common.PaginationOptions.sort_by'
      - $ref: '#/components/parameters/Common.PaginationOptions.direction'
      - $ref: '#/components/parameters/Common.PaginationOptions.metadata_filter'
      responses:
        '200':
          description: The request has succeeded.
          content:
            application/json:
              schema:
                type: object
                properties:
                  items:
                    type: array
                    items:
                      $ref: '#/components/schemas/Executions.Execution'
                required:
                - items
      tags:
      - Tasks
components:
  schemas:
    Tools.UnstructuredSetup:
      type: object
      required:
      - unstructured_api_key
      properties:
        unstructured_api_key:
          type: string
          description: The API key for Unstructured.io
        server_url:
          type: string
          description: Optional server endpoint URL
        server:
          type: string
          description: The server by name to use for all methods
        url_params:
          type: object
          additionalProperties: {}
          description: Parameters to optionally template the server URL with
        retry_config:
          type: object
          additionalProperties: {}
          description: The retry configuration to use for all supported methods
        timeout_ms:
          type: integer
          format: int16
          description: Optional request timeout applied to each operation in milliseconds
      description: Setup parameters for Unstructured integration
    Tasks.LogStep:
      type: object
      required:
      - kind_
      - log
      properties:
        kind_:
          type: string
          enum:
          - log
          default: log
          readOnly: true
        log:
          allOf:
          - $ref: '#/components/schemas/Common.JinjaTemplate'
          description: The value to log
      allOf:
      - type: object
        required:
        - kind_
        properties:
          kind_:
            type: string
            enum:
            - log
            description: The kind of step
            readOnly: true
          label:
            allOf:
            - $ref: '#/components/schemas/Common.stepLabel'
            description: The label of this step for referencing it from other steps
        discriminator:
          propertyName: kind_
          mapping: {}
    Tools.BraveIntegrationDef:
      type: object
      required:
      - provider
      properties:
        provider:
          type: string
          enum:
          - brave
          description: The provider must be "brave"
          default: brave
        method:
          type: string
          description: The specific method of the integration to call
        setup:
          allOf:
          - $ref: '#/components/schemas/Tools.BraveSearchSetup'
          description: The setup parameters for Brave
        arguments:
          allOf:
          - $ref: '#/components/schemas/Tools.BraveSearchArguments'
          description: The arguments for Brave Search
      allOf:
      - $ref: '#/components/schemas/Tools.BaseIntegrationDef'
      description: Brave integration definition
    Tasks.ForeachDo:
      type: object
      required:
      - in
      - do
      properties:
        in:
          allOf:
          - $ref: '#/components/schemas/Common.PyExpression'
          description: 'The variable to iterate over.

            VALIDATION: Should NOT return more than 1000 elements.'
        do:
          anyOf:
          - $ref: '#/components/schemas/Tasks.WaitForInputStep'
          - $ref: '#/components/schemas/Tasks.EvaluateStep'
          - $ref: '#/components/schemas/Tasks.ToolCallStep'
          - $ref: '#/components/schemas/Tasks.PromptStep'
          - $ref: '#/components/schemas/Tasks.GetStep'
          - $ref: '#/components/schemas/Tasks.SetStep'
          - $ref: '#/components/schemas/Tasks.LogStep'
          - $ref: '#/components/schemas/Tasks.YieldStep'
          description: The steps to run for each iteration
    Tools.Bash20241022Def:
      type: object
      required:
      - type
      properties:
        type:
          type: string
          enum:
          - bash_20241022
          default: bash_20241022
        name:
          type: string
          default: bash
    Tools.BrowserbaseCompleteSessionArguments:
      type: object
      required:
      - id
      properties:
        id:
          type: string
        status:
          type: string
          enum:
          - REQUEST_RELEASE
          default: REQUEST_RELEASE
    Tools.BrowserbaseSetup:
      type: object
      required:
      - api_key
      - project_id
      properties:
        api_key:
          type: string
          description: API key for the browserbase integration
        project_id:
          type: string
          description: The project ID. Can be found in Settings.
        api_url:
          type: string
          description: The API URL. Defaults to https://www.browserbase.com
        connect_url:
          type: string
          description: The connect URL. Defaults to wss://connect.browserbase.com
      description: The setup parameters for the browserbase integration
    Tools.LlamaParseIntegrationDef:
      type: object
      required:
      - provider
      properties:
        provider:
          type: string
          enum:
          - llama_parse
          description: The provider must be "LlamaParseSetup"
          default: llama_parse
        method:
          type: string
          description: The specific method of the integration to call
        setup:
          allOf:
          - $ref: '#/components/schemas/Tools.LlamaParseSetup'
          description: The setup parameters for LlamaParse
        arguments:
          allOf:
          - $ref: '#/components/schemas/Tools.LlamaParseFetchArguments'
          description: The arguments for LlamaParse
      allOf:
      - $ref: '#/components/schemas/Tools.BaseIntegrationDef'
      description: LlamaParse integration definition
    Tools.Computer20241022Action:
      type: string
      enum:
      - key
      - type
      - cursor_position
      - mouse_move
      - left_click
      - right_click
      - middle_click
      - double_click
      - screenshot
    Tools.EmailSetup:
      type: object
      required:
      - host
      - port
      - user
      - password
      properties:
        host:
          type: string
          description: The host of the email server
        port:
          type: integer
          format: int32
          description: The port of the email server
        user:
          type: string
          description: The username of the email server
        password:
          type: string
          description: The password of the email server
      description: Setup parameters for Email integration
    Tools.FunctionCallOption:
      type: object
      required:
      - name
      properties:
        name:
          type: string
          description: The name of the function
        arguments:
          type: string
          description: The parameters to pass to the function
    Tools.Computer20241022Def:
      type: object
      required:
      - type
      - display_width_px
      - display_height_px
      properties:
        type:
          type: string
          enum:
          - computer_20241022
          default: computer_20241022
        name:
          type: string
          default: computer
        display_width_px:
          type: integer
          format: uint16
          minimum: 600
          description: The display width in pixels
          default: 1024
        display_height_px:
          type: integer
          format: uint16
          minimum: 400
          description: The display height in pixels
          default: 768
        display_number:
          type: integer
          format: uint16
          minimum: 1
          maximum: 10
          description: The display number to use
          default: 1
      description: Anthropic new tools
    Tools.BraveSearchSetup:
      type: object
      required:
      - brave_api_key
      properties:
        brave_api_key:
          type: string
          description: The api key for Brave Search
      description: Integration definition for Brave Search
    Common.limit:
      type: integer
      format: uint16
      minimum: 1
      description: Limit the number of results
      exclusiveMaximum: 1000
    Tools.EmailArguments:
      type: object
      required:
      - to
      - from
      - subject
      - body
      properties:
        to:
          type: string
          description: The email address to send the email to
        from:
          type: string
          description: The email address to send the email from
        subject:
          type: string
          description: The subject of the email
        body:
          type: string
          description: The body of the email
      description: Arguments for Email sending
    Tasks.ErrorWorkflowStep:
      type: object
      required:
      - kind_
      - error
      properties:
        kind_:
          type: string
          enum:
          - error
          default: error
          readOnly: true
        error:
          type: string
          description: The error message
      allOf:
      - type: object
        required:
        - kind_
        properties:
          kind_:
            type: string
            enum:
            - error
            description: The kind of step
            readOnly: true
          label:
            allOf:
            - $ref: '#/components/schemas/Common.stepLabel'
            description: The label of this step for referencing it from other steps
        discriminator:
          propertyName: kind_
          mapping: {}
    Common.PyExpression:
      type: string
      description: A simple python expression compatible with SimpleEval.
    Entries.ImageDetail:
      type: string
      enum:
      - low
      - high
      - auto
      description: Image detail level
    Tools.DummyIntegrationDef:
      type: object
      required:
      - provider
      properties:
        provider:
          type: string
          enum:
          - dummy
          default: dummy
      allOf:
      - $ref: '#/components/schemas/Tools.BaseIntegrationDef'
    Executions.CreateExecutionRequest:
      type: object
      required:
      - input
      properties:
        input:
          type: object
          additionalProperties: {}
          description: The input to the execution
        output:
          description: The output of the execution if it succeeded
        error:
          type: string
          description: The error of the execution if it failed
        transition_count:
          type: integer
          format: uint8
          description: The number of transitions in this execution
        metadata:
          type: object
          additionalProperties: {}
      description: Payload for creating an execution
    Tasks.EvaluateStep:
      type: object
      required:
      - kind_
      - evaluate
      properties:
        kind_:
          type: string
          enum:
          - evaluate
          default: evaluate
          readOnly: true
        evaluate:
          type: object
          additionalProperties:
            anyOf:
            - $ref: '#/components/schemas/Common.PyExpression'
            - type: object
              additionalProperties: {}
          description: The expression to evaluate
      allOf:
      - type: object
        required:
        - kind_
        properties:
          kind_:
            type: string
            enum:
            - evaluate
            description: The kind of step
            readOnly: true
          label:
            allOf:
            - $ref: '#/components/schemas/Common.stepLabel'
            description: The label of this step for referencing it from other steps
        discriminator:
          propertyName: kind_
          mapping: {}
    Entries.ChatMLRole:
      type: string
      enum:
      - user
      - assistant
      - system
      - tool
      description: ChatML role (system|assistant|user|tool)
    Tools.PropertyDefinition:
      type: object
      required:
      - type
      properties:
        type:
          type: string
          description: Type of the property
        description:
          type: string
          description: Description of the property
        enum:
          type: array
          items:
            type: string
          description: Enum values if applicable
        items:
          allOf:
          - $ref: '#/components/schemas/Tools.PropertyDefinition'
          description: Items definition for array types
      description: Property definition for parameter schema
    Tools.BaseIntegrationDef:
      type: object
      required:
      - provider
      properties:
        provider:
          type: string
          enum:
          - dummy
          - weather
          - wikipedia
          - spider
          - brave
          - browserbase
          - email
          - mailgun
          - remote_browser
          - llama_parse
          - ffmpeg
          - cloudinary
          - arxiv
          - unstructured
          - algolia
          - mcp
          - google_sheets
          description: The provider of the integration
        method:
          type: string
          description: The specific method of the integration to call
        setup:
          description: The setup parameters the integration accepts
        arguments:
          description: The arguments to pre-apply to the integration call
      discriminator:
        propertyName: provider
        mapping:
          brave: '#/components/schemas/Tools.BraveIntegrationDef'
          email: '#/components/schemas/Tools.EmailIntegrationDef'
          spider: '#/components/schemas/Tools.SpiderIntegrationDef'
          wikipedia: '#/components/schemas/Tools.WikipediaIntegrationDef'
          weather: '#/components/schemas/Tools.WeatherIntegrationDef'
          mailgun: '#/components/schemas/Tools.MailgunIntegrationDef'
          browserbase: '#/components/schemas/Tools.BaseBrowserbaseIntegrationDef'
          remote_browser: '#/components/schemas/Tools.RemoteBrowserIntegrationDef'
          llama_parse: '#/components/schemas/Tools.LlamaParseIntegrationDef'
          ffmpeg: '#/components/schemas/Tools.FfmpegIntegrationDef'
          cloudinary: '#/components/schemas/Tools.BaseCloudinaryIntegrationDef'
          arxiv: '#/components/schemas/Tools.ArxivIntegrationDef'
          unstructured: '#/components/schemas/Tools.UnstructuredIntegrationDef'
          algolia: '#/components/schemas/Tools.AlgoliaIntegrationDef'
          mcp: '#/components/schemas/Tools.McpIntegrationDef'
          google_sheets: '#/components/schemas/Tools.GoogleSheetsIntegrationDef'
      description: Integration definition
    Tools.ToolType:
      type: string
      enum:
      - function
      - integration
      - system
      - api_call
      - computer_20241022
      - text_editor_20241022
      - bash_20241022
    Tools.FfmpegSearchArguments:
      type: object
      required:
      - cmd
      properties:
        cmd:
          type: string
          description: The bash command string
        file:
          anyOf:
          - type: string
          - type: array
            items:
              type: string
          description: The base64 string of the file
      description: Arguments for Ffmpeg CMD
    Tools.GoogleSheetsIntegrationDef:
      type: object
      required:
      - provider
      properties:
        provider:
          type: string
          enum:
          - google_sheets
          description: The provider must be "google_sheets"
          default: google_sheets
        method:
          type: string
          enum:
          - read_values
          - write_values
          - append_values
          - clear_values
          - batch_read
          - batch_write
          description: The specific method of the integration to call
        setup:
          allOf:
          - $ref: '#/components/schemas/Tools.GoogleSheetsSetup'
          description: The setup parameters for Google Sheets
        arguments:
          anyOf:
          - $ref: '#/components/schemas/Tools.GoogleSheetsReadArguments'
          - $ref: '#/components/schemas/Tools.GoogleSheetsWriteArguments'
          - $ref: '#/components/schemas/Tools.GoogleSheetsAppendArguments'
          - $ref: '#/components/schemas/Tools.GoogleSheetsClearArguments'
          - $ref: '#/components/schemas/Tools.GoogleSheetsBatchReadArguments'
          - $ref: '#/components/schemas/Tools.GoogleSheetsBatchWriteArguments'
          description: The arguments for the method
      allOf:
      - $ref: '#/components/schemas/Tools.BaseIntegrationDef'
      description: Google Sheets integration definition
    Tools.GoogleSheetsBatchWriteArguments:
      type: object
      required:
      - spreadsheet_id
      - data
      properties:
        spreadsheet_id:
          type: string
          description: The ID of the spreadsheet to write to
        data:
          type: array
          items:
            $ref: '#/components/schemas/Tools.GoogleSheetsValueRange'
          description: The data to write to each range
        value_input_option:
          type: string
          enum:
          - RAW
          - USER_ENTERED
          description: How the input data should be interpreted
          default: USER_ENTERED
        include_values_in_response:
          type: boolean
          description: Whether to include the values in the response
          default: false
      description: Arguments for batch updating values in multiple ranges
    Executions.Execution:
      type: object
      required:
      - task_id
      - status
      - input
      - created_at
      - updated_at
      - id
      properties:
        task_id:
          allOf:
          - $ref: '#/components/schemas/Common.uuid'
          readOnly: true
          description: The ID of the task that the execution is running
        status:
          type: string
          enum:
          - queued
          - starting
          - running
          - awaiting_input
          - succeeded
          - failed
          - cancelled
          description: The status of the execution
          readOnly: true
        input:
          type: object
          additionalProperties: {}
          description: The input to the execution
        output:
          description: The output of the execution if it succeeded
        error:
          type: string
          description: The error of the execution if it failed
        transition_count:
          type: integer
          format: uint8
          description: The number of transitions in this execution
        created_at:
          type: string
          format: date-time
          description: When this resource was created as UTC date-time
          readOnly: true
        updated_at:
          type: string
          format: date-time
          description: When this resource was updated as UTC date-time
          readOnly: true
        metadata:
          type: object
          additionalProperties: {}
        id:
          allOf:
          - $ref: '#/components/schemas/Common.uuid'
          readOnly: true
    Tools.ArxivIntegrationDef:
      type: object
      required:
      - provider
      properties:
        provider:
          type: string
          enum:
          - arxiv
          description: The provider must be "arxiv"
          default: arxiv
        method:
          type: string
          description: The specific method of the integration to call
        setup:
          description: The setup parameters for Arxiv
          default: null
        arguments:
          allOf:
          - $ref: '#/components/schemas/Tools.ArxivSearchArguments'
          description: The arguments for Arxiv Search
      allOf:
      - $ref: '#/components/schemas/Tools.BaseIntegrationDef'
      description: Arxiv integration definition
    Tools.BrowserbaseCreateSessionIntegrationDef:
      type: object
      required:
      - method
      properties:
        method:
          type: string
          enum:
          - create_session
          default: create_session
        arguments:
          allOf:
          - $ref: '#/components/schemas/Tools.BrowserbaseCreateSessionArguments'
          description: The arguments for the method
      allOf:
      - $ref: '#/components/schemas/Tools.BaseBrowserbaseIntegrationDef'
      description: browserbase create session integration definition
    Tools.BrowserbaseGetSessionIntegrationDef:
      type: object
      required:
      - method
      properties:
        method:
          type: string
          enum:
          - get_session
          default: get_session
        arguments:
          $ref: '#/components/schemas/Tools.BrowserbaseGetSessionArguments'
      allOf:
      - $ref: '#/components/schemas/Tools.BaseBrowserbaseIntegrationDef'
      description: browserbase get session integration definition
    Tools.ChosenComputer20241022:
      type: object
      required:
      - action
      properties:
        action:
          allOf:
          - $ref: '#/components/schemas/Tools.Computer20241022Action'
          description: The action to perform
        text:
          type: string
          description: The text to type
        coordinate:
          type: array
          items:
            type: integer
            format: uint16
          description: The (x, y) pixel coordinate to move the cursor to
    Tools.WeatherIntegrationDef:
      type: object
      required:
      - provider
      properties:
        provider:
          type: string
          enum:
          - weather
          description: The provider must be "weather"
          default: weather
        method:
          type: string
          description: The specific method of the integration to call
        setup:
          allOf:
          - $ref: '#/components/schemas/Tools.WeatherSetup'
          description: The setup parameters for Weather
        arguments:
          allOf:
          - $ref: '#/components/schemas/Tools.WeatherGetArguments'
          description: The arguments for Weather
      allOf:
      - $ref: '#/components/schemas/Tools.BaseIntegrationDef'
      description: Weather integration definition
    Tools.GoogleSheetsWriteArguments:
      type: object
      required:
      - spreadsheet_id
      - range
      - values
      properties:
        spreadsheet_id:
          type: string
          description: The ID of the spreadsheet to write to
        range:
          type: string
          description: The A1 notation of the range to write to
        values:
          type: array
          items:
            type: array
            items: {}
          description: The values to write (2D array)
        value_input_option:
          type: string
          enum:
          - RAW
          - USER_ENTERED
          description: How the input data should be interpreted
          default: USER_ENTERED
        insert_data_option:
          type: string
          enum:
          - OVERWRITE
          - INSERT_ROWS
          description: How the input data should be inserted
          default: OVERWRITE
        include_values_in_response:
          type: boolean
          description: Whether to include the values in the response
          default: false
      description: Arguments for writing values to a spreadsheet
    Tasks.WaitForInputStep:
      type: object
      required:
      - kind_
      - wait_for_input
      properties:
        kind_:
          type: string
          enum:
          - wait_for_input
          default: wait_for_input
          readOnly: true
        wait_for_input:
          allOf:
          - $ref: '#/components/schemas/Tasks.WaitForInputInfo'
          description: Any additional info or data
      allOf:
      - type: object
        required:
        - kind_
        properties:
          kind_:
            type: string
            enum:
            - wait_for_input
            description: The kind of step
            readOnly: true
          label:
            allOf:
            - $ref: '#/components/schemas/Common.stepLabel'
            description: The label of this step for referencing it from other steps
        discriminator:
          propertyName: kind_
          mapping: {}
    Tools.SystemDef:
      type: object
      required:
      - resource
      - operation
      properties:
        resource:
          type: string
          enum:
          - agent
          - user
          - task
          - execution
          - doc
          - session
          - job
          description: Resource is the name of the resource to use
        operation:
          type: string
          enum:
          - create
          - update
          - patch
          - create_or_update
          - embed
          - change_status
          - search
          - chat
          - history
          - delete
          - get
          - list
          description: Operation is the name of the operation to perform
        resource_id:
          allOf:
          - $ref: '#/components/schemas/Common.uuid'
          description: Resource id (if applicable)
        subresource:
          type: string
          enum:
          - tool
          - doc
          - execution
          - transition
          description: Sub-resource type (if applicable)
        arguments:
          type: object
          additionalProperties: {}
          description: The arguments to pre-apply to the system call
      description: System definition
    Tools.CloudinaryEditArguments:
      type: object
      required:
      - public_id
      - transformation
      - return_base64
      properties:
        public_id:
          type: string
          description: The file Public ID in Cloudinary
        transformation:
          type: array
          items:
            type: object
            additionalProperties: {}
          description: The transformation to apply to the file
        return_base64:
          type: boolean
          description: Return base64 encoded file
          default: false
      description: Arguments for Cloudinary media edit
    Tools.SpiderIntegrationDef:
      type: object
      required:
      - provider
      properties:
        provider:
          type: string
          enum:
          - spider
          description: The provider must be "spider"
          default: spider
        method:
          type: string
          enum:
          - crawl
          - links
          - screenshot
          - search
          description: The specific method of the integration to call
        setup:
          allOf:
          - $ref: '#/components/schemas/Tools.SpiderSetup'
          description: The setup parameters for Spider
        arguments:
          allOf:
          - $ref: '#/components/schemas/Tools.SpiderFetchArguments'
          description: The arguments for Spider
      allOf:
      - $ref: '#/components/schemas/Tools.BaseIntegrationDef'
      description: Spider integration definition
    Tasks.SwitchStep:
      type: object
      required:
      - kind_
      - switch
      properties:
        kind_:
          type: string
          enum:
          - switch
          default: switch
          readOnly: true
        switch:
          type: array
          items:
            $ref: '#/components/schemas/Tasks.CaseThen'
          minItems: 1
          description: The cond tree
      allOf:
      - type: object
        required:
        - kind_
        properties:
          kind_:
            type: string
            enum:
            - switch
            description: The kind of step
            readOnly: true
          label:
            allOf:
            - $ref: '#/components/schemas/Common.stepLabel'
            description: The label of this step for referencing it from other steps
        discriminator:
          propertyName: kind_
          mapping: {}
    Tasks.PromptStep:
      type: object
      required:
      - kind_
      - prompt
      - tools
      - auto_run_tools
      - disable_cache
      properties:
        kind_:
          type: string
          enum:
          - prompt
          default: prompt
          readOnly: true
        prompt:
          anyOf:
          - $ref: '#/components/schemas/Common.JinjaTemplate'
          - type: array
            items:
              type: object
              required:
              - role
              - content
              properties:
                role:
                  allOf:
                  - $ref: '#/components/schemas/Entries.ChatMLRole'
                  description: The role of the message
                tool_call_id:
                  type: string
                content:
                  anyOf:
                  - $ref: '#/components/schemas/Common.JinjaTemplate'
                  - type: array
                    items:
                      $ref: '#/components/schemas/Common.JinjaTemplate'
                  - type: array
                    items:
                      anyOf:
                      - type: object
                        required:
                        - text
                        - type
                        properties:
                          text:
                            $ref: '#/components/schemas/Common.JinjaTemplate'
                          type:
                            type: string
                            enum:
                            - text
                            description: The type (fixed to 'text')
                            default: text
                      - type: object
                        required:
                        - image_url
                        - type
                        properties:
                          image_url:
                            type: object
                            required:
                            - url
                            - detail
                            properties:
                              url:
            

# --- truncated at 32 KB (108 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/julep/refs/heads/main/openapi/julep-tasks-api-openapi.yml