Skip to main content
GET
/
projects
/
{projectName}
/
packages
/
{packageName}
/
notebooks
/
{path}
/
cells
/
{cellIndex}
Execute a specific notebook cell
curl --request GET \
  --url https://{organization}.data.credibledata.com/api/v0/projects/{projectName}/packages/{packageName}/notebooks/{path}/cells/{cellIndex} \
  --header 'Authorization: Bearer <token>'
{
  "type": "markdown",
  "text": "<string>",
  "result": "<string>",
  "newSources": [
    "<string>"
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

projectName
string
required

Name of the project Standard identifier pattern for resource names

Pattern: ^[a-zA-Z0-9_-]+$
packageName
string
required

Name of the package

path
string
required

Path to notebook within the package

cellIndex
integer
required

Index of the cell to execute (0-based)

Query Parameters

versionId
string

Version identifier for the package Version identifier pattern supporting dots and dashes

Pattern: ^[a-zA-Z0-9_.-]+$

Response

Cell execution result

Result of executing a notebook cell

type
enum<string>

Type of notebook cell

Available options:
markdown,
code
text
string

Text contents of the notebook cell

result
string

JSON string containing the execution result for this cell

newSources
string[]

Array of JSON strings containing SourceInfo objects made available in this cell