Jump to Content
API Reference
v2.0-commercial
v2.0-government
v3.0-government
Log In
API Reference
Log In
Moon (Dark Mode)
Sun (Light Mode)
Government 3.0
API Reference
Create entity
Search
All
Pages
Start typing to search…
JUMP TO
Getting Started
Getting Started with Legion
Legion Platform API
Auth
Get OAuth 2.0 Authorization Server Metadata
get
Register with Keycloak
post
Entities
Create entity
post
Delete entity
delete
Get entity by ID
get
Update entity
put
Search entities
post
Entity Locations
Get paginated entity locations by entity ID
get
Create entity location
post
Get entity location that belongs to the entity by ID
get
Search entity locations
post
Feed Definitions
Create feed definition
post
Delete feed definition
delete
Get feed definition by ID
get
Update feed definition
put
Search feed definitions
post
Feed Data
Get latest feed data by entity and feed definition
get
Get latest feed data for entity
get
Ingest message feed data
post
Search feed data
post
Integrations
List integrations by organization
get
Create integration
post
Delete integration
delete
Get integration
get
Update integration
put
OAuth
Get OAuth configuration
get
Get OAuth client secret
get
Regenerate OAuth client secret
post
OAuth authorization endpoint
get
OAuth authorization callback
get
OAuth token revocation
post
OAuth token endpoint
post
OAuth token introspection
get
Me
Get current user
get
Update current user
patch
Get my organization invitations
get
Get my organizations
get
WebRTC
Delete all WebRTC connections
delete
Get all WebRTC connections
get
Create WebRTC connection
post
Delete WebRTC connection
delete
Get WebRTC connection
get
Organization Invitations
Accept organization invitation
post
Decline organization invitation
post
Create organization invitation
post
Delete organization invitation
delete
Get organization invitation
get
Organizations
Delete organization
delete
Get organization
get
Update organization
patch
Create organization
post
Get all organizations
get
Organization Users
Get all organization users
get
Delete organization user
delete
Get organization user
get
Update organization user
put
Orion
Get a specific organization's orion settings
get
Creates or Updates a specific organization's orion settings
put
Tasking
Dispatch task
post
Get task status
get
Delete entity commands
delete
Get entity commands
get
Register entity commands
post
Update entity commands
put
Delete MQTT topic
delete
Register MQTT topics
post
Update MQTT topic
put
Get MQTT topics
get
Get all MQTT topics
get
Users
Get all users
get
Create admin user
post
Delete user
delete
Get user by ID
get
Update user
put
Video Streams
Create video stream
post
Delete all video streams for entity
delete
Get video streams for entity
get
Delete specific video stream
delete
Get specific video stream
get
Search video streams
post
Ask AI
Create entity
post
https://us-gov.legion.picogrid.com/v3/entities
Creates a new entity.
Language
Shell
Node
Ruby
PHP
Python
URL
Base URL
https://us-gov.legion.picogrid.com
/v3/entities
RESPONSE
Click
Try It!
to start a request and see the response here!