Runners Workspaces
List Task Resources
Lists resources for a specific task within the workspace
post/runners/workspaces/{workspaceId}/tasks/{taskId}/resources/search
Request
- Base URLhttps://api.firefly.ai/v2
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
workspaceIdstring required
Unique identifier of the workspace
taskIdstring required
Unique identifier of the task
Query parameters
pageinteger
pageSizeinteger
Request body
Example request
{
"filters": {
"action": [
"create"
],
"taskType": [
"post-plan"
],
"resourceId": [
"aws_s3_bucket.logs"
],
"providerName": [
"aws"
],
"$or": {
"action": [
"create"
],
"taskType": [
"post-plan"
],
"resourceId": [
"aws_s3_bucket.logs"
],
"providerName": [
"aws"
]
}
}
}Response
Task resources retrieved successfully
Example response
{
"resources": [
{
"id": "507f1f77bcf86cd799439011",
"accountId": "507f1f77bcf86cd799439011",
"taskId": "507f1f77bcf86cd799439013",
"name": "aws_instance.example",
"type": "aws_instance",
"mode": "managed",
"action": "create",
"taskType": "post-plan",
"dataType": "terraform",
"providerName": "aws",
"providerType": "aws",
"providerVersion": "4.0.0"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.