Read Blueprint
Get a specific TaskBlueprint by ID
HTTPBearerAuthorizationBearer <token>id*Idinclude_deleted?Include DeletedfalseSuccessful Response
application/json- response
name*Namedescription?string|nullowner_id?integer|nullid*Idjobs*array<>created_at*Created Atdate-timeupdated_at*Updated Atdate-timecurl -X GET 'https://app.copyhero.app/api/v1/blueprints/tasks/0'{ "name": "string", "description": "string", "owner_id": 0, "id": 0, "jobs": [ { "name": "string", "description": "string", "job_type": "string", "input_data": "string", "id": 0, "owner_id": 0, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z"}Read Blueprint Jobs GET
List TaskBlueprintJobs with usage statistics, filtering, searching, and sorting. Returns a ``{data, count}`` envelope where ``count`` is the total number of rows matching the filters (ignoring pagination). List rows are the slim ``TaskBlueprintJobListItem`` (no ``input_data``); the full blob lives on the detail endpoint ``GET /blueprints/jobs/{id}``. Filters: - search_query: Search in name and description (ILIKE) - job_type: Filter by job type (e.g., 'translate', 'import') - owner_id: Filter by owner ID (superuser only) - owned_only: Only the caller's own jobs (no global rows) - created_by_user_id: Filter by creator user ID (superuser only) - sort_by: Sort by id, created_at, updated_at, name, or job_type - sort_order: Sort direction (asc or desc) - skip: Number of records to skip for pagination - limit: Maximum number of records to return
Read Blueprints GET
List TaskBlueprints with filtering, searching, and sorting. Filters: - search_query: Search in name and description (ILIKE) - owner_id: Filter by owner ID (superuser only) - owner_user_id: Filter by the owning user's organizations (superuser only) - owned_only: Restrict to the current user's own blueprints (excludes global and other users' rows) - must_include_job_type: Restrict to blueprints whose jobs include this type - sort_by: Sort by created_at, updated_at, or name - sort_order: Sort direction (asc or desc) - skip: Number of records to skip for pagination - limit: Maximum number of records to return