POST /v1/sync/validate-smiles
Validate SMILES strings — Checks one SMILES string or a list of them.
ivy_ API key (Authorization: Bearer ivy_…), a signed-in session token (Authorization: Bearer …) or the session cookie (browser sessions). See Authentication.Checks one SMILES string or a list of them. Each valid entry returns its canonical SMILES and atom counts; each invalid entry returns an error. Use it to check input before submitting a job.
Request
Request body
One SMILES string or a list of them.
Responses
200 OK
success: a failed calculation still returns HTTP 200.Response shape:
Calculation output. For validate-smiles: results (each with input, valid, canonical, num_atoms, num_heavy_atoms or error) and total. For similarity: smiles1, smiles2, fingerprint_type, tanimoto, dice and cosine. For admet-quick: smiles plus the ADMET estimates. For molecular-properties: the property fields, plus admet when requested.
Present when success is false.
400 Bad Request
Response shape: object
401 Unauthorized
Response shape: object
422 Unprocessable Entity
Response shape: object
429 Too Many Requests
Response shape: object
502 Bad Gateway
Response shape: object
Was this page helpful?