agent-swarm.devagent-swarm.dev

Apps

Apps API endpoints

GET
/api/apps

Authorization

bearerAuth
AuthorizationBearer <token>

API key via Authorization: Bearer <API_KEY>

In: header

Response Body

curl -X GET "http://localhost:3013/api/apps"
Empty
POST
/api/apps

Authorization

bearerAuth
AuthorizationBearer <token>

API key via Authorization: Bearer <API_KEY>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

curl -X POST "http://localhost:3013/api/apps" \  -H "Content-Type: application/json" \  -d '{    "name": "string"  }'
Empty
Empty
Empty
DELETE
/api/apps/{id}

Authorization

bearerAuth
AuthorizationBearer <token>

API key via Authorization: Bearer <API_KEY>

In: header

Path Parameters

id*string
Length1 <= length

Response Body

curl -X DELETE "http://localhost:3013/api/apps/string"
Empty
Empty
Empty
GET
/api/apps/{id}

Authorization

bearerAuth
AuthorizationBearer <token>

API key via Authorization: Bearer <API_KEY>

In: header

Path Parameters

id*string
Length1 <= length

Response Body

curl -X GET "http://localhost:3013/api/apps/string"
Empty
Empty
Empty
PATCH
/api/apps/{id}

Authorization

bearerAuth
AuthorizationBearer <token>

API key via Authorization: Bearer <API_KEY>

In: header

Path Parameters

id*string
Length1 <= length

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X PATCH "http://localhost:3013/api/apps/string" \  -H "Content-Type: application/json" \  -d '{}'
{
  "app": null,
  "migration": {
    "scanned": 0,
    "backfilled": 0,
    "coerced": 0,
    "mapped": 0,
    "elsed": 0,
    "purgedValues": 0,
    "idxRebuilt": 0,
    "orphanFields": [
      "string"
    ],
    "userConfigChanged": [
      "string"
    ]
  }
}
Empty
Empty
Empty
PUT
/api/apps/{id}

Authorization

bearerAuth
AuthorizationBearer <token>

API key via Authorization: Bearer <API_KEY>

In: header

Path Parameters

id*string
Length1 <= length

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X PUT "http://localhost:3013/api/apps/string" \  -H "Content-Type: application/json" \  -d '{}'
{
  "app": null,
  "migration": {
    "scanned": 0,
    "backfilled": 0,
    "coerced": 0,
    "mapped": 0,
    "elsed": 0,
    "purgedValues": 0,
    "idxRebuilt": 0,
    "orphanFields": [
      "string"
    ],
    "userConfigChanged": [
      "string"
    ]
  }
}
Empty
Empty
Empty
POST
/api/apps/{id}/actions/{name}

Authorization

bearerAuth
AuthorizationBearer <token>

API key via Authorization: Bearer <API_KEY>

In: header

Path Parameters

id*string
Length1 <= length
name*string
Match^[a-z][a-zA-Z0-9_]{0,39}$

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

curl -X POST "http://localhost:3013/api/apps/string/actions/string" \  -H "Content-Type: application/json" \  -d '{}'
Empty
Empty
Empty
Empty
Empty
GET
/api/apps/{id}/models/{model}/rows

Authorization

bearerAuth
AuthorizationBearer <token>

API key via Authorization: Bearer <API_KEY>

In: header

Path Parameters

id*string
Length1 <= length
model*string
Match^[a-z][a-zA-Z0-9_]{0,39}$

Query Parameters

sort?string
limit?integer
Range0 < value <= 1000

Response Body

curl -X GET "http://localhost:3013/api/apps/string/models/string/rows"
Empty
Empty
Empty
Empty
POST
/api/apps/{id}/models/{model}/rows

Authorization

bearerAuth
AuthorizationBearer <token>

API key via Authorization: Bearer <API_KEY>

In: header

Path Parameters

id*string
Length1 <= length
model*string
Match^[a-z][a-zA-Z0-9_]{0,39}$

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

curl -X POST "http://localhost:3013/api/apps/string/models/string/rows" \  -H "Content-Type: application/json" \  -d '{    "values": {      "property1": null,      "property2": null    }  }'
Empty
Empty
Empty
Empty
DELETE
/api/apps/{id}/models/{model}/rows/{rowId}

Authorization

bearerAuth
AuthorizationBearer <token>

API key via Authorization: Bearer <API_KEY>

In: header

Path Parameters

id*string
Length1 <= length
model*string
Match^[a-z][a-zA-Z0-9_]{0,39}$
rowId*string
Length1 <= length

Response Body

curl -X DELETE "http://localhost:3013/api/apps/string/models/string/rows/string"
Empty
Empty
Empty
GET
/api/apps/{id}/models/{model}/rows/{rowId}

Authorization

bearerAuth
AuthorizationBearer <token>

API key via Authorization: Bearer <API_KEY>

In: header

Path Parameters

id*string
Length1 <= length
model*string
Match^[a-z][a-zA-Z0-9_]{0,39}$
rowId*string
Length1 <= length

Response Body

curl -X GET "http://localhost:3013/api/apps/string/models/string/rows/string"
Empty
Empty
Empty
PATCH
/api/apps/{id}/models/{model}/rows/{rowId}

Authorization

bearerAuth
AuthorizationBearer <token>

API key via Authorization: Bearer <API_KEY>

In: header

Path Parameters

id*string
Length1 <= length
model*string
Match^[a-z][a-zA-Z0-9_]{0,39}$
rowId*string
Length1 <= length

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

curl -X PATCH "http://localhost:3013/api/apps/string/models/string/rows/string" \  -H "Content-Type: application/json" \  -d '{    "values": {      "property1": null,      "property2": null    }  }'
Empty
Empty
Empty
Empty
POST
/api/apps/{id}/models/{model}/rows/bulk

Authorization

bearerAuth
AuthorizationBearer <token>

API key via Authorization: Bearer <API_KEY>

In: header

Path Parameters

id*string
Length1 <= length
model*string
Match^[a-z][a-zA-Z0-9_]{0,39}$

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

curl -X POST "http://localhost:3013/api/apps/string/models/string/rows/bulk" \  -H "Content-Type: application/json" \  -d '{    "rows": [      {        "values": {          "property1": null,          "property2": null        }      }    ]  }'
Empty
Empty
Empty
Empty
GET
/api/apps/{id}/queries/{name}

Authorization

bearerAuth
AuthorizationBearer <token>

API key via Authorization: Bearer <API_KEY>

In: header

Path Parameters

id*string
Length1 <= length
name*string
Match^[a-z][a-zA-Z0-9_]{0,39}$

Response Body

curl -X GET "http://localhost:3013/api/apps/string/queries/string"
Empty
Empty
Empty
Empty
Empty
POST
/api/apps/{id}/rollback

Authorization

bearerAuth
AuthorizationBearer <token>

API key via Authorization: Bearer <API_KEY>

In: header

Path Parameters

id*string
Length1 <= length

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "http://localhost:3013/api/apps/string/rollback" \  -H "Content-Type: application/json" \  -d '{    "version": 0  }'
{
  "app": null,
  "migration": {
    "scanned": 0,
    "backfilled": 0,
    "coerced": 0,
    "mapped": 0,
    "elsed": 0,
    "purgedValues": 0,
    "idxRebuilt": 0,
    "orphanFields": [
      "string"
    ],
    "userConfigChanged": [
      "string"
    ]
  }
}
Empty
Empty
Empty
GET
/api/apps/{id}/user-config

Authorization

bearerAuth
AuthorizationBearer <token>

API key via Authorization: Bearer <API_KEY>

In: header

Path Parameters

id*string
Length1 <= length

Response Body

curl -X GET "http://localhost:3013/api/apps/string/user-config"
Empty
Empty
Empty
Empty
PUT
/api/apps/{id}/user-config

Authorization

bearerAuth
AuthorizationBearer <token>

API key via Authorization: Bearer <API_KEY>

In: header

Path Parameters

id*string
Length1 <= length

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

curl -X PUT "http://localhost:3013/api/apps/string/user-config" \  -H "Content-Type: application/json" \  -d '{    "values": {      "property1": null,      "property2": null    }  }'
Empty
Empty
Empty
Empty
Empty
Empty
GET
/api/apps/{id}/versions

Authorization

bearerAuth
AuthorizationBearer <token>

API key via Authorization: Bearer <API_KEY>

In: header

Path Parameters

id*string
Length1 <= length

Response Body

curl -X GET "http://localhost:3013/api/apps/string/versions"
Empty
Empty
GET
/api/apps/{id}/versions/{version}

Authorization

bearerAuth
AuthorizationBearer <token>

API key via Authorization: Bearer <API_KEY>

In: header

Path Parameters

id*string
Length1 <= length
version*integer
Range0 < value

Response Body

curl -X GET "http://localhost:3013/api/apps/string/versions/0"
Empty
Empty