Skip to main content
GET
/
agents
/
cleaning
/
{cleaningTaskId}
/
code
Get code files for a cleaning task
curl --request GET \
  --url https://api.datalinks.com/api/v1/agents/cleaning/{cleaningTaskId}/code \
  --header 'Authorization: Bearer <token>'
[
  {
    "name": "clean.py",
    "content": "<string>"
  }
]

Authorizations

Authorization
string
header
required

Use a Bearer token for authentication. Submit the token using the Authorization header: Authorization: Bearer <token>.

Path Parameters

cleaningTaskId
string<uuid>
required

The unique identifier of the cleaning task.

Response

List of code file metadata for the cleaning task.

name
string
required

Filename of the code file.

Example:

"clean.py"

content
string
required

Code file content aka the code.