Last Mile AI Project API

The Project API from Last Mile AI — 12 operation(s) for project.

Operations 12

POST /api/2/auto_eval/project/create Create Project #
POST /api/2/auto_eval/project/get Get Project #
POST /api/2/auto_eval/project/get_summary Get Project Summary #
POST /api/2/auto_eval/project/get_default Get Default Project #
POST /api/2/auto_eval/project/list List Projects #
DELETE /api/2/auto_eval/project/delete Delete Project #
PUT /api/2/auto_eval/project/update_metadata Update Project Metadata #
POST /api/2/auto_eval/project/add_members Add Project Members #
POST /api/2/auto_eval/project/remove_members Remove Project Members #
POST /api/2/auto_eval/project/change_member_role Change Project Member Role #
POST /api/2/auto_eval/project/list_assignable_member_roles List Assignable Project Member Roles #
POST /api/2/auto_eval/project/list_members List Project Members #

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/lastmileai:lastmileai-project-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

lastmileai-project-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Lastmileai Project API
  version: '2.0'
  description: 'Operations tagged Project across 2 of this provider''s published API definitions: model.json, lastmileai-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://lastmileai.dev
  description: Production server - LastMile AI
security:
- BearerAuth: []
tags:
- name: Project
paths:
  /api/2/auto_eval/project/create:
    post:
      tags:
      - Project
      summary: Create Project
      operationId: CreateProject
      description: Create a new Project
      security:
      - BearerAuth: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/lmai.proto.webserver.v2.CreateProjectRequest'
      responses:
        '200':
          description: Successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/lmai.proto.webserver.v2.CreateProjectResponse'
      x-codeSamples:
      - lang: JavaScript
        source: "import Lastmile from 'lastmile';\n\nconst client = new Lastmile({\n  bearerToken: process.env['LASTMILE_API_TOKEN'], // This is the default and can be omitted\n});\n\nasync function main() {\n  const project = await client.projects.create({ name: 'name' });\n\n  console.log(project.project);\n}\n\nmain();"
      - lang: Python
        source: "import os\nfrom lastmile import Lastmile\n\nclient = Lastmile(\n    bearer_token=os.environ.get(\"LASTMILE_API_TOKEN\"),  # This is the default and can be omitted\n)\nproject = client.projects.create(\n    name=\"name\",\n)\nprint(project.project)"
    servers:
    - url: https://lastmileai.dev
      description: Production server - LastMile AI
  /api/2/auto_eval/project/get:
    post:
      tags:
      - Project
      summary: Get Project
      operationId: GetProject
      description: Get a Project.
      security:
      - BearerAuth: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/lmai.proto.webserver.v2.GetProjectRequest'
      responses:
        '200':
          description: Successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/lmai.proto.webserver.v2.GetProjectResponse'
      x-codeSamples:
      - lang: JavaScript
        source: "import Lastmile from 'lastmile';\n\nconst client = new Lastmile({\n  bearerToken: process.env['LASTMILE_API_TOKEN'], // This is the default and can be omitted\n});\n\nasync function main() {\n  const project = await client.projects.get({ id: 'id' });\n\n  console.log(project.project);\n}\n\nmain();"
      - lang: Python
        source: "import os\nfrom lastmile import Lastmile\n\nclient = Lastmile(\n    bearer_token=os.environ.get(\"LASTMILE_API_TOKEN\"),  # This is the default and can be omitted\n)\nproject = client.projects.get(\n    id=\"id\",\n)\nprint(project.project)"
    servers:
    - url: https://lastmileai.dev
      description: Production server - LastMile AI
  /api/2/auto_eval/project/get_summary:
    post:
      tags:
      - Project
      summary: Get Project Summary
      operationId: GetProjectSummary
      description: Get a summary of the Project's evaluations
      security:
      - BearerAuth: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/lmai.proto.webserver.v2.GetProjectSummaryRequest'
      responses:
        '200':
          description: Successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/lmai.proto.webserver.v2.GetProjectSummaryResponse'
    servers:
    - url: https://lastmileai.dev
      description: Production server - LastMile AI
  /api/2/auto_eval/project/get_default:
    post:
      tags:
      - Project
      summary: Get Default Project
      operationId: GetDefaultProject
      description: Get the default project for the user or organization
      security:
      - BearerAuth: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/lmai.proto.webserver.v2.GetDefaultProjectRequest'
      responses:
        '200':
          description: Successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/lmai.proto.webserver.v2.GetDefaultProjectResponse'
      x-codeSamples:
      - lang: JavaScript
        source: "import Lastmile from 'lastmile';\n\nconst client = new Lastmile({\n  bearerToken: process.env['LASTMILE_API_TOKEN'], // This is the default and can be omitted\n});\n\nasync function main() {\n  const response = await client.projects.default();\n\n  console.log(response.project);\n}\n\nmain();"
      - lang: Python
        source: "import os\nfrom lastmile import Lastmile\n\nclient = Lastmile(\n    bearer_token=os.environ.get(\"LASTMILE_API_TOKEN\"),  # This is the default and can be omitted\n)\nresponse = client.projects.default()\nprint(response.project)"
    servers:
    - url: https://lastmileai.dev
      description: Production server - LastMile AI
  /api/2/auto_eval/project/list:
    post:
      tags:
      - Project
      summary: List Projects
      operationId: ListProjects
      description: List Projects.
      security:
      - BearerAuth: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/lmai.proto.webserver.v2.ListProjectsRequest'
      responses:
        '200':
          description: Successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/lmai.proto.webserver.v2.ListProjectsResponse'
      x-codeSamples:
      - lang: JavaScript
        source: "import Lastmile from 'lastmile';\n\nconst client = new Lastmile({\n  bearerToken: process.env['LASTMILE_API_TOKEN'], // This is the default and can be omitted\n});\n\nasync function main() {\n  const projects = await client.projects.list();\n\n  console.log(projects.projects);\n}\n\nmain();"
      - lang: Python
        source: "import os\nfrom lastmile import Lastmile\n\nclient = Lastmile(\n    bearer_token=os.environ.get(\"LASTMILE_API_TOKEN\"),  # This is the default and can be omitted\n)\nprojects = client.projects.list()\nprint(projects.projects)"
    servers:
    - url: https://lastmileai.dev
      description: Production server - LastMile AI
  /api/2/auto_eval/project/delete:
    delete:
      tags:
      - Project
      summary: Delete Project
      operationId: DeleteProject
      description: Delete a Project.
      security:
      - BearerAuth: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/lmai.proto.webserver.v2.DeleteProjectRequest'
      responses:
        '200':
          description: Successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/lmai.proto.webserver.v2.DeleteProjectResponse'
    servers:
    - url: https://lastmileai.dev
      description: Production server - LastMile AI
  /api/2/auto_eval/project/update_metadata:
    put:
      tags:
      - Project
      summary: Update Project Metadata
      operationId: UpdateProjectMetadata
      description: Update metadata such as name and description
      security:
      - BearerAuth: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/lmai.proto.webserver.v2.UpdateProjectMetadataRequest'
      responses:
        '200':
          description: Successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/lmai.proto.webserver.v2.UpdateProjectMetadataResponse'
    servers:
    - url: https://lastmileai.dev
      description: Production server - LastMile AI
  /api/2/auto_eval/project/add_members:
    post:
      tags:
      - Project
      summary: Add Project Members
      operationId: AddProjectMembers
      description: Description of add_members
      security:
      - BearerAuth: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/lmai.proto.webserver.v2.AddProjectMembersRequest'
      responses:
        '200':
          description: Successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/lmai.proto.webserver.v2.AddProjectMembersResponse'
    servers:
    - url: https://lastmileai.dev
      description: Production server - LastMile AI
  /api/2/auto_eval/project/remove_members:
    post:
      tags:
      - Project
      summary: Remove Project Members
      operationId: RemoveProjectMembers
      description: Description of remove_members
      security:
      - BearerAuth: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/lmai.proto.webserver.v2.RemoveProjectMembersRequest'
      responses:
        '200':
          description: Successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/lmai.proto.webserver.v2.RemoveProjectMembersResponse'
    servers:
    - url: https://lastmileai.dev
      description: Production server - LastMile AI
  /api/2/auto_eval/project/change_member_role:
    post:
      tags:
      - Project
      summary: Change Project Member Role
      operationId: ChangeProjectMemberRole
      description: Description of change_member_role
      security:
      - BearerAuth: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/lmai.proto.webserver.v2.ChangeProjectMemberRoleRequest'
      responses:
        '200':
          description: Successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/lmai.proto.webserver.v2.ChangeProjectMemberRoleResponse'
    servers:
    - url: https://lastmileai.dev
      description: Production server - LastMile AI
  /api/2/auto_eval/project/list_assignable_member_roles:
    post:
      tags:
      - Project
      summary: List Assignable Project Member Roles
      operationId: ListAssignableProjectMemberRoles
      description: Description of list_assignable_member_roles
      security:
      - BearerAuth: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/lmai.proto.webserver.v2.ListAssignableProjectMemberRolesRequest'
      responses:
        '200':
          description: Successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/lmai.proto.webserver.v2.ListAssignableProjectMemberRolesResponse'
    servers:
    - url: https://lastmileai.dev
      description: Production server - LastMile AI
  /api/2/auto_eval/project/list_members:
    post:
      tags:
      - Project
      summary: List Project Members
      operationId: ListProjectMembers
      description: List the member roles of the project
      security:
      - BearerAuth: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/lmai.proto.webserver.v2.ListProjectMembersRequest'
      responses:
        '200':
          description: Successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/lmai.proto.webserver.v2.ListProjectMembersResponse'
    servers:
    - url: https://lastmileai.dev
      description: Production server - LastMile AI
components:
  schemas:
    lmai.proto.webserver.v2.GetProjectSummaryResponse:
      title: GetProjectSummaryResponse
      type: object
      properties:
        projectSummary:
          $ref: '#/components/schemas/lmai.proto.webserver.v2.ProjectSummary'
      required:
      - projectSummary
    lmai.proto.webserver.v2.ChangeProjectMemberRoleRequest:
      title: ChangeProjectMemberRoleRequest
      type: object
      properties:
        projectId:
          type: string
        roleId:
          type: integer
          description: The role id of the project member
        projectRole:
          type: string
          enum:
          - PROJECT_ROLE_UNSPECIFIED
          - PROJECT_ROLE_ADMIN
          - PROJECT_ROLE_MEMBER
          - PROJECT_ROLE_CONTRIBUTOR
          title: ProjectRole
          description: The new project role for the member
      required:
      - projectId
      - roleId
      - projectRole
    lmai.proto.model_fine_tuning.v1.Project:
      title: Project
      type: object
      properties:
        id:
          type: string
        createdAt:
          type: string
          format: date-time
          description: "A summary is retrieved for a time range from start_time to end_time\n If no end_time is provided, current time is used"
        updatedAt:
          type: string
          format: date-time
          description: "A summary is retrieved for a time range from start_time to end_time\n If no end_time is provided, current time is used"
        deletedAt:
          type: string
          format: date-time
          description: "A summary is retrieved for a time range from start_time to end_time\n If no end_time is provided, current time is used"
        creatorId:
          type: string
        name:
          type: string
        description:
          type: string
        organizationId:
          type: string
        organizationName:
          type: string
      required:
      - id
      - createdAt
      - updatedAt
      - name
    lmai.proto.webserver.v2.RoleUser:
      title: RoleUser
      type: object
      properties:
        id:
          type: string
          description: User id for the user
        name:
          type: string
        email:
          type: string
        profileImageUrl:
          type: string
      required:
      - id
      - name
    lmai.proto.webserver.v2.GetProjectRequest:
      title: GetProjectRequest
      type: object
      properties:
        id:
          type: string
      required:
      - id
    lmai.proto.webserver.v2.GetProjectSummaryRequest:
      title: GetProjectSummaryRequest
      type: object
      properties:
        id:
          type: string
        startTime:
          type: string
          format: date-time
          description: "A summary is retrieved for a time range from start_time to end_time\n If no end_time is provided, current time is used"
        endTime:
          type: string
          format: date-time
          description: "A summary is retrieved for a time range from start_time to end_time\n If no end_time is provided, current time is used"
      required:
      - id
      - startTime
    lmai.proto.webserver.v2.ProjectMember:
      title: ProjectMember
      type: object
      properties:
        role:
          $ref: '#/components/schemas/lmai.proto.webserver.v2.Role'
          description: The auth Role for the project member
        projectRole:
          type: string
          enum:
          - PROJECT_ROLE_UNSPECIFIED
          - PROJECT_ROLE_ADMIN
          - PROJECT_ROLE_MEMBER
          - PROJECT_ROLE_CONTRIBUTOR
          title: ProjectRole
          description: The role within the project for this member
      required:
      - role
      - projectRole
    lmai.proto.webserver.v2.AddProjectMembersRequest:
      title: AddProjectMembersRequest
      type: object
      properties:
        projectId:
          type: string
        roleIds:
          type: array
          items:
            type: integer
      required:
      - projectId
      - roleIds
    lmai.proto.webserver.v2.UpdateProjectMetadataResponse:
      title: UpdateProjectMetadataResponse
      type: object
      properties:
        success:
          type: boolean
      required:
      - success
    lmai.proto.webserver.v2.Role:
      title: Role
      type: object
      properties:
        id:
          type: integer
        name:
          type: string
        displayName:
          type: string
          description: Human-readable display name for the role
        roleType:
          type: string
          enum:
          - ROLE_TYPE_UNSPECIFIED
          - ROLE_TYPE_USER
          - ROLE_TYPE_ORGANIZATION
          - ROLE_TYPE_PROJECT
          title: RoleType
        roleUsers:
          type: array
          items:
            $ref: '#/components/schemas/lmai.proto.webserver.v2.RoleUser'
        grantedToRoleIds:
          type: array
          items:
            type: integer
      required:
      - id
      - name
      - displayName
      - roleType
      - roleUsers
      - grantedToRoleIds
    lmai.proto.webserver.v2.CreateProjectRequest:
      title: CreateProjectRequest
      type: object
      properties:
        name:
          type: string
          description: Human-readable name for the project, if one exists.
        description:
          type: string
          description: Human-readable description of the project, if one exists.
        organizationId:
          type: string
          description: Organization to associate the project with, if applicable
      required:
      - name
      description: Create a Project
    lmai.proto.webserver.v2.GetDefaultProjectResponse:
      title: GetDefaultProjectResponse
      type: object
      properties:
        project:
          $ref: '#/components/schemas/lmai.proto.model_fine_tuning.v1.Project'
      required:
      - project
    lmai.proto.webserver.v2.ListAssignableProjectMemberRolesRequestFilters:
      title: ListAssignableProjectMemberRolesRequestFilters
      type: object
      properties:
        query:
          type: string
          description: search query substring match for name
    lmai.proto.webserver.v2.ListProjectsRequestFilters:
      title: ListProjectsRequestFilters
      type: object
      properties:
        query:
          type: string
          description: search query substring match for name and description
        organizationId:
          type: string
          description: search only projects associated with specific organization
        canContribute:
          type: boolean
          description: only return projects to which the viewer can contribute
    lmai.proto.webserver.v2.DeleteProjectRequest:
      title: DeleteProjectRequest
      type: object
      properties:
        id:
          type: string
          description: ID of the project to delete
      required:
      - id
    lmai.proto.webserver.v2.MetricAggregate:
      title: MetricAggregate
      type: object
      properties:
        metric:
          $ref: '#/components/schemas/lmai.proto.webserver.v2.Metric'
        aggregateMethod:
          type: string
          enum:
          - METRIC_AGGREGATE_METHOD_UNSPECIFIED
          - METRIC_AGGREGATE_METHOD_SUM
          - METRIC_AGGREGATE_METHOD_AVG
          title: MetricAggregateMethod
        score:
          type: number
      required:
      - metric
      - aggregateMethod
      - score
    lmai.proto.webserver.v2.ListProjectMembersRequestFilters:
      title: ListProjectMembersRequestFilters
      type: object
      properties:
        query:
          type: string
          description: search query substring match for member names
        projectRole:
          type: string
          enum:
          - PROJECT_ROLE_UNSPECIFIED
          - PROJECT_ROLE_ADMIN
          - PROJECT_ROLE_MEMBER
          - PROJECT_ROLE_CONTRIBUTOR
          title: ProjectRole
          description: search only members with the specified project role
    lmai.proto.webserver.v2.ListAssignableProjectMemberRolesRequest:
      title: ListAssignableProjectMemberRolesRequest
      type: object
      properties:
        projectId:
          type: string
        filters:
          $ref: '#/components/schemas/lmai.proto.webserver.v2.ListAssignableProjectMemberRolesRequestFilters'
      required:
      - projectId
    lmai.proto.webserver.v2.ListProjectMembersResponse:
      title: ListProjectMembersResponse
      type: object
      properties:
        projectMembers:
          type: array
          items:
            $ref: '#/components/schemas/lmai.proto.webserver.v2.ProjectMember'
        totalCount:
          type: integer
          description: "Total count of project members which can be listed with applicable\n filters, regardless of page size"
      required:
      - projectMembers
      - totalCount
    lmai.proto.webserver.v2.ProjectSummary:
      title: ProjectSummary
      type: object
      properties:
        evaluationRunSummaries:
          type: array
          items:
            $ref: '#/components/schemas/lmai.proto.webserver.v2.ProjectEvaluationRunMetricSummary'
      required:
      - evaluationRunSummaries
    lmai.proto.webserver.v2.ListAssignableProjectMemberRolesResponse:
      title: ListAssignableProjectMemberRolesResponse
      type: object
      properties:
        roles:
          type: array
          items:
            $ref: '#/components/schemas/lmai.proto.webserver.v2.Role'
      required:
      - roles
    lmai.proto.webserver.v2.GetProjectResponse:
      title: GetProjectResponse
      type: object
      properties:
        project:
          $ref: '#/components/schemas/lmai.proto.model_fine_tuning.v1.Project'
      required:
      - project
    lmai.proto.webserver.v2.ProjectEvaluationRunMetricSummary:
      title: ProjectEvaluationRunMetricSummary
      type: object
      properties:
        metricAggregate:
          $ref: '#/components/schemas/lmai.proto.webserver.v2.MetricAggregate'
          description: "Aggregate metric for the full time range (e.g. weighted average of the\n metric)"
        statisticalMetrics:
          type: object
          additionalProperties:
            type: number
          description: "Statistical metrics computed for this evaluation metric, over all runs\n in the time range. Including:\n - 'standard_deviation': the standard deviation of the aggregated means of\n the metric over all runs"
        results:
          type: array
          items:
            $ref: '#/components/schemas/lmai.proto.webserver.v2.EvaluationRunsMetricSummaryAggregate'
            description: Aggregate metrics per 'slice' of the time range (daily or hourly)
      required:
      - metricAggregate
      - statisticalMetrics
      - results
      description: A summary of a single metric for all Evaluation Runs over a time range.
    lmai.proto.webserver.v2.AddProjectMembersResponse:
      title: AddProjectMembersResponse
      type: object
      properties:
        success:
          type: boolean
      required:
      - success
    lmai.proto.webserver.v2.ChangeProjectMemberRoleResponse:
      title: ChangeProjectMemberRoleResponse
      type: object
      properties:
        success:
          type: boolean
      required:
      - success
    lmai.proto.webserver.v2.Metric:
      title: Metric
      type: object
      properties:
        id:
          type: string
        name:
          type: string
        description:
          type: string
        deploymentStatus:
          type: string
          enum:
          - MODEL_DEPLOYMENT_STATUS_UNSPECIFIED
          - MODEL_DEPLOYMENT_STATUS_PENDING
          - MODEL_DEPLOYMENT_STATUS_ONLINE
          - MODEL_DEPLOYMENT_STATUS_OFFLINE
          - MODEL_DEPLOYMENT_STATUS_PAUSED
          title: ModelDeploymentStatus
    lmai.proto.webserver.v2.CreateProjectResponse:
      title: CreateProjectResponse
      type: object
      properties:
        project:
          $ref: '#/components/schemas/lmai.proto.model_fine_tuning.v1.Project'
      required:
      - project
    lmai.proto.webserver.v2.DeleteProjectResponse:
      title: DeleteProjectResponse
      type: object
      properties:
        id:
          type: string
          description: ID of the deleted project
      required:
      - id
    lmai.proto.webserver.v2.UpdateProjectMetadataRequest:
      title: UpdateProjectMetadataRequest
      type: object
      properties:
        id:
          type: string
          description: Project to update
        name:
          type: string
          description: New project name
        description:
          type: string
          description: New human-readable description of the project
      required:
      - id
    lmai.proto.webserver.v2.ListProjectsResponse:
      title: ListProjectsResponse
      type: object
      properties:
        projects:
          type: array
          items:
            $ref: '#/components/schemas/lmai.proto.model_fine_tuning.v1.Project'
        totalCount:
          type: integer
          description: "Total count of projects which can be listed with applicable\n filters, regardless of page size"
      required:
      - projects
      - totalCount
    lmai.proto.webserver.v2.RemoveProjectMembersResponse:
      title: RemoveProjectMembersResponse
      type: object
      properties:
        success:
          type: boolean
      required:
      - success
    lmai.proto.webserver.v2.EvaluationRunsMetricSummaryAggregate:
      title: EvaluationRunsMetricSummaryAggregate
      type: object
      properties:
        timestamp:
          type: string
          format: date-time
          description: "A summary is retrieved for a time range from start_time to end_time\n If no end_time is provided, current time is used"
        aggregateScore:
          type: number
      required:
      - timestamp
      - aggregateScore
      description: "The aggregate score for a single time 'slice' for a\n ProjectEvaluationRunMetricSummary"
    lmai.proto.webserver.v2.ListProjectMembersRequest:
      title: ListProjectMembersRequest
      type: object
      properties:
        projectId:
          type: string
        filters:
          $ref: '#/components/schemas/lmai.proto.webserver.v2.ListProjectMembersRequestFilters'
        pageIndex:
          type: integer
        pageSize:
          type: integer
      required:
      - projectId
    lmai.proto.webserver.v2.GetDefaultProjectRequest:
      title: GetDefaultProjectRequest
      type: object
      properties:
        organizationId:
          type: string
          description: "If provided, will get the default project for the organization\n Otherwise, will retrieve the default project for the user or\n organization associated with the api key used"
    lmai.proto.webserver.v2.ListProjectsRequest:
      title: ListProjectsRequest
      type: object
      properties:
        filters:
          $ref: '#/components/schemas/lmai.proto.webserver.v2.ListProjectsRequestFilters'
    lmai.proto.webserver.v2.RemoveProjectMembersRequest:
      title: RemoveProjectMembersRequest
      type: object
      properties:
        projectId:
          type: string
        roleIds:
          type: array
          items:
            type: integer
      required:
      - projectId
      - roleIds
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
x-refined-from:
- model.json
- lastmileai-openapi.json