How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Last Mile AI Resource Permission API

The Resource Permission API from Last Mile AI — 8 operation(s) for resource permission.

Last Mile AI Resource Permission API is one of 7 APIs that Last Mile AI publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

This API exposes 6 JSON Schema definitions.

Tagged areas include Resource Permission. The published artifact set on APIs.io includes an OpenAPI specification and 6 JSON Schemas.

This API exposes 8 operations across 8 paths, and defines 23 schemas. It is described by OpenAPI 3.2.0, at version 2.0.

Requests are made against a single base URL, https://lastmileai.dev.

8 operations 8 paths 23 schemas 8 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
2.0
Server
https://lastmileai.dev
Authentication
HTTP Bearer
Resource Areas
1

Authentication & Security 1

Last Mile AI Resource Permission API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (JWT) (BearerAuth). By default, every request must be authenticated.

Paths & Operations 8

Across 8 paths, the API surfaces 8 operations — 8 POST. Each is listed below with its method, path, parameters, and response codes.

Resource Permission 8
POST
/api/2/auto_eval/resource_permission/can_viewer_do
Can Viewer Do
CanViewerDo body → 200
POST
/api/2/auto_eval/resource_permission/get_role
Get Role
GetRole body → 200
POST
/api/2/auto_eval/resource_permission/list_applicable_permissions
List Applicable Permissions
ListApplicablePermissions body → 200
POST
/api/2/auto_eval/resource_permission/list_assignable_roles
List Assignable Roles
ListAssignableRoles body → 200
POST
/api/2/auto_eval/resource_permission/list_resource_role_permissions
List Resource Role Permissions
ListResourceRolePermissions body → 200
POST
/api/2/auto_eval/resource_permission/add_resource_role_permission
Add Resource Role Permission
AddResourceRolePermission body → 200
POST
/api/2/auto_eval/resource_permission/change_resource_role_permission
Change Resource Role Permission
ChangeResourceRolePermission body → 200
POST
/api/2/auto_eval/resource_permission/remove_resource_role_permission
Remove Resource Role Permission
RemoveResourceRolePermission body → 200

Schemas 23

The contract defines 23 schemas that model the data the API accepts and returns. The most detailed are lmai.proto.webserver.v2.Role (6 properties), lmai.proto.webserver.v2.RoleUser (4 properties), lmai.proto.webserver.v2.ChangeResourceRolePermissionRequest (4 properties), lmai.proto.webserver.v2.RemoveResourceRolePermissionRequest (3 properties). Each schema is shown below with its type and property counts.

lmai.proto.webserver.v2.ListAssignableRolesRequestFilters
object
2 properties
lmai.proto.webserver.v2.RoleUser
object
4 properties 2 required
lmai.proto.webserver.v2.Permission
object
3 properties 3 required
lmai.proto.webserver.v2.RemoveResourceRolePermissionRequest
object
For a specified resource, remove the specified permission from the given roleids
3 properties 3 required
lmai.proto.webserver.v2.CanViewerDoResponse
object
Return the results of checking whether the viewer can perform the actions specified
1 property 1 required
lmai.proto.webserver.v2.Role
object
6 properties 6 required
lmai.proto.webserver.v2.GetRoleResponse
object
1 property 1 required
lmai.proto.webserver.v2.ListResourceRolePermissionsRequest
object
For a specified resource, list each associated role and permission. Note that a role/user with multiple permissions will have each listed independently
1 property 1 required
lmai.proto.webserver.v2.ListApplicablePermissionsResponse
object
1 property 1 required
lmai.proto.webserver.v2.GetRoleRequest
object
1 property 1 required
lmai.proto.webserver.v2.ChangeResourceRolePermissionResponse
object
1 property 1 required
lmai.proto.webserver.v2.ListResourceRolePermissionsResponse
object
1 property 1 required
lmai.proto.webserver.v2.AddResourceRolePermissionResponse
object
1 property 1 required
lmai.proto.webserver.v2.RolePermission
object
2 properties 2 required
lmai.proto.webserver.v2.ListAssignableRolesResponse
object
1 property 1 required
lmai.proto.webserver.v2.CanDoActionCheck
object
2 properties 2 required
lmai.proto.webserver.v2.CanViewerDoRequest
object
For the specified resourcename, determine if the viewer can do the specified actions Supports multiple action checks in one request for usability
2 properties 2 required
lmai.proto.webserver.v2.ChangeResourceRolePermissionRequest
object
For a specified resource, change an existing permission for a given roleid to a new permission
4 properties 4 required
lmai.proto.webserver.v2.AddResourceRolePermissionRequest
object
For a specified resource, add the specified permission to the given roleids
3 properties 3 required
lmai.proto.webserver.v2.ListApplicablePermissionsRequest
object
For a specified resource, list all permissions that are able to be assigned to a role
2 properties 1 required
lmai.proto.webserver.v2.ListAssignableRolesRequest
object
For a specified resource, list all roles to which the viewer would be able to assign resource permissions
2 properties 1 required
lmai.proto.webserver.v2.ListApplicablePermissionsRequestFilters
object
1 property
lmai.proto.webserver.v2.RemoveResourceRolePermissionResponse
object
1 property 1 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

lastmileai-resource-permission-api-openapi.yml Raw ↑

Other APIs Last Mile AI publishes across the network.

Last Mile AI Dataset API
Last Mile AI Evaluation API
Last Mile AI Experiment API
Last Mile AI Fine Tune Job API
Last Mile AI Project API
Last Mile AI Pseudo Label Job API
Where this information came from

This is an independent, third-party profile of Last Mile AI Resource Permission API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.