Apps
Create and retrieve Projects is needed to get the ingestion key.
Last updated
Create and retrieve Projects is needed to get the ingestion key.
Last updated
GET
https://app.inspector.dev/api/apps
Authentication*
string
API key.
[
{
"id": 123,
"name": "App Demo",
"favorite": false,
"client_version": "4.7.33",
"key": "xxxxxxxxxxxxxxxxx",
"serverless": false,
"weekly_report": true,
"platform": {
"id": 1,
"name": "Laravel",
"language": "PHP"
},
"users": [1, 2],
"created_at": "2024-03-01 10:52",
"updated_at": "2024-03-01 10:52"
},
{
"id": 456,
"name": "Demo 2",
"favorite": false,
"key": "xxxxxxxxxxxxxxxxx",
...
}
]
GET
https://app.inspector.dev/api/apps/:id
id*
integer
App's ID
Authentication*
string
API key
{
"id": 123,
"name": "App Demo",
"favorite": false,
"client_version": "4.7.33",
"key": "xxxxxxxxxxxxxxxxx",
"serverless": false,
"weekly_report": true,
"platform": {
"id": 1,
"name": "Laravel",
"language": "PHP"
},
"users": [1, 2],
"created_at": "2024-03-01 10:52",
"updated_at": "2024-03-01 10:52"
}
POST
https://app.inspector.dev/api/apps
Create a new project will generate a new ingestion key.
Authentication*
string
API key
name*
string
The name of the project
platform_id*
integer
The ID of the technology stack used for the project
{
"id": 123,
"name": "App Demo",
"favorite": false,
"client_version": "4.7.33",
"key": "xxxxxxxxxxxxxxxxx",
"serverless": false,
"weekly_report": true,
"platform": {
"id": 1,
"name": "Laravel",
"language": "PHP"
},
"users": [1, 2],
"created_at": "2024-03-01 10:52",
"updated_at": "2024-03-01 10:52"
}
PUT
https://app.inspector.dev/api/apps/:id
id*
integer
App's ID
Authentication*
string
API key
weekly_report
boolean
Determine if you want to receive the weekly summary via email.
platform_id*
integer
The tech stack.
name*
string
Name of the project
{
"id": 123,
"name": "App Demo",
"favorite": false,
"client_version": "4.7.33",
"key": "xxxxxxxxxxxxxxxxx",
"serverless": false,
"weekly_report": true,
"platform": {
"id": 1,
"name": "Laravel",
"language": "PHP"
},
"users": [1, 2],
"created_at": "2024-03-01 10:52",
"updated_at": "2024-03-01 10:52"
}
DELETE
https://app.inspector.dev/api/apps/:id
id*
integer
App's ID
Authorization*
string
API key
{
"id": 123,
"name": "App Demo",
"favorite": false,
"client_version": "4.7.33",
"key": "xxxxxxxxxxxxxxxxx",
"serverless": false,
"weekly_report": true,
"platform": {
"id": 1,
"name": "Laravel",
"language": "PHP"
},
"users": [1, 2],
"created_at": "2024-03-01 10:52",
"updated_at": "2024-03-01 10:52"
}
POST
/https://app.inspector.dev/api/apps/:id/lock
The endpoint works as a toggle. To know if your application is currently locked or not you can check the locked_at
field in the app object. If it exists that means the application monitoring is currently off, and the next call to the lock endpoint will turn it on.
Headers
Content-Type
application/json
Authorization
Bearer <token>
Response
{
"id": 123,
"name": "App Demo",
"favorite": false,
"client_version": "4.7.33",
"key": "xxxxxxxxxxxxxxxxx",
"serverless": false,
"weekly_report": true,
"platform": {
"id": 1,
"name": "Laravel",
"language": "PHP"
},
"users": [1, 2],
"locked_at": "2025-01-29 11:53",
"created_at": "2024-03-01 10:52",
"updated_at": "2024-03-01 10:52"
}