client.scripts.post_custom_runs_outputs

A method of the Scripts endpoint.

post_custom_runs_outputs(id: int, run_id: int, object_type: str, object_id: int) Response

Add an output for a run

API URL: POST /scripts/custom/{id}/runs/{run_id}/outputs

import civis
client = civis.APIClient()
response = client.scripts.post_custom_runs_outputs(...)
Parameters:
idint

The ID of the custom script.

run_idint

The ID of the run.

object_typestr

The type of the output. Valid values are File, Table, Report, Project, Credential, or JSONValue

object_idint

The ID of the output.

Returns:
civis.Response
  • object_typestr

    The type of the output. Valid values are File, Table, Report, Project, Credential, or JSONValue

  • object_idint

    The ID of the output.

  • namestr

    The name of the output.

  • linkstr

    The hypermedia link to the output.

  • value : object