Insforge Admin API
The Admin API from Insforge — 54 operation(s) for admin.
Operations 80
GET
/api/ai/models
Get all available AI models
GET
/api/ai/overview
Get Model Gateway overview
GET
/api/ai/{provider}/api-key
Get active provider API key
POST
/api/ai/{provider}/api-key/rotate
Rotate provider API key
GET
/api/auth/config
Get authentication configuration
PUT
/api/auth/config
Update authentication configuration
GET
/api/auth/users
List all users (admin only)
DELETE
/api/auth/users
Delete users (admin only)
GET
/api/auth/users/{userId}
Get specific user
POST
/api/auth/admin/sessions
Admin login
POST
/api/auth/admin/sessions/exchange
Exchange cloud provider authorization code for admin session
POST
/api/auth/admin/refresh
Refresh admin dashboard access token
POST
/api/auth/admin/logout
Logout admin dashboard session
POST
/api/auth/tokens/anon
Get anon key (deprecated)
GET
/api/auth/oauth/configs
List all OAuth configurations
POST
/api/auth/oauth/configs
Create OAuth configuration
GET
/api/auth/oauth/{provider}/config
Get OAuth configuration for specific provider
PUT
/api/auth/oauth/{provider}/config
Update OAuth configuration
DELETE
/api/auth/oauth/{provider}/config
Delete OAuth configuration
GET
/api/auth/oauth/custom/configs
List all custom OAuth configurations
POST
/api/auth/oauth/custom/configs
Create custom OAuth configuration
GET
/api/auth/oauth/custom/{key}/config
Get custom OAuth configuration
PUT
/api/auth/oauth/custom/{key}/config
Update custom OAuth configuration
DELETE
/api/auth/oauth/custom/{key}/config
Delete custom OAuth configuration
GET
/api/auth/admin/sessions/current
Get current admin session
GET
/api/auth/smtp-config
Get SMTP configuration
PUT
/api/auth/smtp-config
Update SMTP configuration
GET
/api/auth/email-templates
Get all email templates
PUT
/api/auth/email-templates/{type}
Update email template
GET
/api/deployments
List deployments
POST
/api/deployments
Create legacy deployment session (deprecated)
POST
/api/deployments/direct
Create direct-upload deployment session
GET
/api/deployments/metadata
Get deployment metadata
PUT
/api/deployments/slug
Update InsForge-hosted slug
GET
/api/deployments/env-vars
List deployment environment variables
POST
/api/deployments/env-vars
Create or update deployment environment variables
GET
/api/deployments/env-vars/{id}
Get deployment environment variable
DELETE
/api/deployments/env-vars/{id}
Delete deployment environment variable
GET
/api/deployments/domains
List custom domains
POST
/api/deployments/domains
Add custom domain
POST
/api/deployments/domains/{domain}/verify
Verify custom domain
DELETE
/api/deployments/domains/{domain}
Remove custom domain
GET
/api/deployments/{id}
Get deployment
PUT
/api/deployments/{id}/files/{fileId}/content
Upload direct deployment file content
POST
/api/deployments/{id}/start
Start deployment
POST
/api/deployments/{id}/sync
Sync deployment status
POST
/api/deployments/{id}/cancel
Cancel deployment
GET
/api/functions
List all functions
POST
/api/functions
Create new function
GET
/api/functions/{slug}
Get function details
PUT
/api/functions/{slug}
Update function
DELETE
/api/functions/{slug}
Delete function
GET
/api/logs
List activity logs
DELETE
/api/logs
Clear logs
GET
/api/logs/stats
Get logs statistics
GET
/api/metadata
Get app metadata
GET
/api/metadata/database
Get database metadata
GET
/api/metadata/api-key
Get API key
GET
/api/metadata/anon-key
Get anon key
GET
/api/secrets
List all secrets
POST
/api/secrets
Create a new secret
GET
/api/secrets/{key}
Get secret value
PUT
/api/secrets/{key}
Update secret
DELETE
/api/secrets/{key}
Delete secret
POST
/api/secrets/api-key/rotate
Rotate API key
POST
/api/secrets/anon-key/rotate
Rotate anon key
GET
/api/storage/config
Get storage configuration
PUT
/api/storage/config
Update storage configuration
GET
/api/storage/buckets
List All Buckets
POST
/api/storage/buckets
Create New Bucket
DELETE
/api/storage/buckets/{bucketName}
Delete Bucket
PATCH
/api/storage/buckets/{bucketName}
Update Bucket
GET
/api/storage/buckets/{bucketName}/objects
List Objects in Bucket
GET
/api/database/tables
List Tables
POST
/api/database/tables
Create Table
GET
/api/database/tables/{tableName}/schema
Get Table Schema
PATCH
/api/database/tables/{tableName}/schema
Update Table Schema
DELETE
/api/database/tables/{tableName}
Delete Table
GET
/api/database/migrations
List Database Migrations
POST
/api/database/migrations
Create and Execute Database Migration